Q12 Write a program to add first seven terms of the following series using a for loop:

Program: 104

Write a c program to add first seven terms of the following series using a for loop:

\frac{1}{1!} + \frac{2}{2!} + \frac{3}{3!} + \frac{4}{4!} + \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot

Output:

2.718056

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.