**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**

## Video Lecture

Latest posts by Prof. Fazal Rehman Shamil (see all)

- How Students Can Pick a Good Custom-Paper Writing Service? - March 5, 2021
- List of Public service commissions - August 31, 2020
- Comparison of fee structure of Pakistani Universities - June 1, 2020