Write a program in java to print the sum of the following series:
S=1+3/2!+5/3!+7/4!+... to n.
Answers
Answered by
2
The outer loop provides the denominator in the series. The inner loop calculates factorial of each no. provided by outer loop.
Do remember to make f equal to 1
hope it works
Attachments:
![](https://hi-static.z-dn.net/files/d0f/9420ad8bc3b89ffd9e1614dc62455f75.jpg)
Similar questions
Computer Science,
2 months ago
Geography,
4 months ago
Social Sciences,
4 months ago
Chemistry,
11 months ago
Biology,
11 months ago
Computer Science,
11 months ago