# Sum of series C programs

This section contains the solved C programs based on some mathematical series with output and explanation.

## List of sum of the series programs

1. C program to calculate the sum of the series 1-2+3-4+5-6+7-8...N terms
Given the series 1 -2+3-4+5-6+7-8 … N terms, and we have to find the sum of all values using C program.
2. C program to calculate the sum of the series 1+(1+2) +(1+2+3) +(1+2+3+4) +...+(1+2+3+...+n)
Given a series: 1+(1+2) +(1+2+3) +(1+2+3+4) +…. +(1+2+3+…+n), and we have to find the sum of all elements using C program.
3. C program for sin(x) series
Sin x is a series of sin function of trigonometry; it can expand up to infinite number of term. Through this series, we can find out value of sin x at any radian value of sin x graph.
4. C program to find the sum of series 1^2/1! + 2^2/2! + 3^2/3! + 4^2/4! + ... n^2/n!
In this C program, we are going to find the sum of series 1^2/1! + 2^2/2! + 3^2/3! + 4^2/4! + ... n^2/n! , where value of n will be provided by the user.
5. C program to find the sum of series 1.2/3 + 2.3/4 + 3.4/5 + 4.5/6 + ... + n(n +1)/(n+2)
In this C program, we are going to find the sum of series 1.2/3 + 2.3/4 + 3.4/5 + 4.5/6 + ... + n(n +1)/(n+2) , where value of n will be provided by the user.
6. C program to find the sum of series x + x/2! + x/4! + ... + x/n!
In this C program, we are going to find the sum of series x + x/2! + x/4! + ... + x/n!, where value of x and n will be provided by the user.
7. C program to calculate the sum of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3
In this program, we are going to learn how can we find the solution (calculate the sum) of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3, where N will be given by the user.
8. C program to calculate the sum of series 1 +1/x^1 + 1/x^2 + 1/x^3 ... + 1/x^n terms
Here, we are going to implement a c program that will find the sum of series 1 +1/x^1 + 1/x^2 + 1/x^3 ... + 1/x^n terms.
9. C program to calculate sum of the series 1 + 11 + 111 + 1111 + ... N terms
Here, we are going to implement a c program that will find the sum of series 1 + 11 + 111 + 1111 + ... N terms.
10. C program to find the sum of the Arithmetic Progression (A.P.) series
Here, we will read the first term, the total number of terms, and common difference from the user and print A.P. series and its sum.
11. C program to find the sum of the Geometric Progression (G.P.) series
Here, we are going to learn how to find the sum of the Geometric Progression (G.P.) series using C program?
12. C program to find the sum of the Harmonic Progression (H.P.) series
Here, we are going to learn how to find the sum of the Harmonic Progression (H.P.) series using C program?
13. C program to print Floyd's triangle
Here, we are going to learn how to print Floyd's triangle using C program?

What's New

Top Interview Coding Problems/Challenges!

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates