First, try to see the pattern in the terms after the $1+$.
Next, if you can run a for-loop from 1 to some-number-of-terms (in
the variable,
i, how could you work
i (=1,2,3,4,5, etc.) into this pattern?
In the starter code above,
we're calling the changing denominator in the pattern
d. Fix the
d= line, then use it to program
in the formula after the
sum=sum+ line to starting adding up the terms.