need help in c++ program

Nov 24, 2012 at 2:10pm
Hi everyone..
i am having trouble in making a logic of the following series, help me out!

i need to compute the sum of the following series
1-5/3+9/5-13/7+17/9-....up to n term(enter by user) using loops.

thanks in advance!
Last edited on Nov 24, 2012 at 2:10pm
Nov 24, 2012 at 3:40pm
The top number starts at 1 and goes up by 4 each time.

The bottom number starts at 1 and goes up by 2 each time.

So are you now able to generate the complete list of n terms?
Last edited on Nov 24, 2012 at 3:41pm
Topic archived. No new replies allowed.