Computer Science, asked by gipsyjudu, 7 months ago

Write a program using for loop 1/2+3/4+5/6+....n terms in java give answers according to icse syllabus.. its urgent

Answers

Answered by mdaymaan9
1

Answer:

Hope this helps!!

Explanation:

Example : n=5

we have to do the calculation 5 times

so,

(1/1+1)+(3/3+1)+(5/5+1)+(7/7+1)+(9/9+1)

clearly , we have to continue the loop (n×2)-1 times

Attachments:
Similar questions