write a program to find the sum of the series: a/2!+a/5!+a/8!+a/11!....…....n terms
Answers
Answered by
3
Answer:
HEY MATE SORRY I COUD NOT GIVE U THE CORRECT ANSWER BUT HERE IS AN EXAMPLE OF IT HOPE IT HELPS
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
Explanation:
Similar questions