C++ program to find sum of series 1+1/2+1/3

C++ program to find sum of series 1+1/2+1/3

Here you will learn C++ program to find sum of series 1+1/2+1/3  upto n terms.

For Example

1+1/2+1/3…+1/n

 

Example of  C++ program to find sum of series 1+1/2+1/3…+1/100

Output

Enter how many terms : 9

Sum of series upto 9 is 2.82897

 


 

Other Similar Programs

C++ program to find sum of series 1 + 2 + 3 +……+ n

C++ Program to print given series:1 2 4 8 16 32 64 128…. n

 

Check out our other C++ programming Examples

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top