# Sum of Series 1+1/2+1/3+…+1/n C Program

## C Program To Print Sum of Series 1+1/2+1/3+1/4+…+1/n

Here, we have listed How To Print The Sum of Series of Numbers in the format 1 + 1/2 + 1/3 + … +1/n in C Programming Language. It is important that we should know about the How A For Loop Works before getting further with the C Program Code.

We have listed following Methods To Find The Sum of Sequence in C Programming:

• Addition of Series without Function
• Sum of Sequence with Function

In this C Program, we take a Limit as an Input from the user. Suppose, if the user enters the Limit as 5, the program will calculate the Sum of Sequence starting from Numbers 1 to 5.

#### Example

1 + 1/2 + 1/3 + 1/4 + 1/5 = 2.283333

Also Read: Addition of Series 1 + 2 + 3 + 4 + …. + N C Program

#### Method 1: Find Sum of Sequence without Function in C

Also Read: Sum of Sequence 1 + 1/2 + 1/4 + 1/8 + …. + 1/n C Program

#### Output

If you have any compilation errors or doubts in this C Program Addition of Series, let us know about it in the Comment Section below.

#### Tushar Soni

I am Tushar Soni, Co - Founder of CodingAlpha. I am a computer science student from India and passionate about Web Development and Programming. Connect with me on Facebook | LinkedIn | Google Plus

### One thought on “Sum of Series 1+1/2+1/3+…+1/n C Program”

• September 13, 2016 at 10:38 pm