# Program to Print sum of number of Series in C Plus Plus (CPP,C++) and C with Flowchart

Last modified on May 26th, 2018 at 2:04 pm

**Program to Print sum of number of Series in C Plus Plus (CPP,C++) and C with Flowchart**

In this tutorial, we will learn about the followings;

- Flowchart to the Print sum of the number of Series
- Program to the Print sum of the number of Series in C Plus Plus (CPP)
- Program to the Print sum of the number of Series in C

**Flowchart to the Print sum of the number of Series **

**Program to the Print sum of the number of Series in C Plus Plus (CPP)**

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #include<iostream> #include<conio.h> using namespace std; int main() { int series; int sum_of_series=0; int numbers=10; for(series=1;series<=numbers;series++) { sum_of_series= sum_of_series + series; cout<<series; } cout<<"\nSum: "<<sum_of_series; getch(); } |

**Output**

**Program to the Print sum of the number of Series in C **

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include<conio.h> int main() { int series; int sum_of_series=0; int numbers=10; for(series=1;series<=numbers;series++) { sum_of_series+=series; printf("%d",series); } printf("\nSum: %d",sum_of_series); getch(); } |

**Output**