Computer Science, asked by jackryan, 9 months ago

write a program in java to find the sum of given series 1/2+2/3+3/4+....+49/50​

Answers

Answered by uswapnil21
0

Answer:

Output:0.31039998

Explanation:

PROGRAM TO FIND JAVA IN CORRECT SERIES ✍️

Input: a = 3, n = 3

Output: 0.6666667

The series is 1/3 + 1/9 + 1/27 which is

equal to 0.6666667

Input: a = 5, n = 4

Output: 0.31039998

Similar questions