C++ program to find sum of series 1 + 2 + 3 +……+ n #include<iostream.h> #include<conio.h> void main() { clrscr(); int i,n,sum=0; cout<<“1+2+3+……+n”; cout<<“nEnter the value of n:”; cin>>n; for(i=1;i<=n;++i) sum+=i; cout<<“nSum=”<<sum; getch(); } You May Also Like:C++ program to find sum of series 1+1/2^2+1/3^3+…..+1/n^nC program to find the sum of the series x+x^2/2+x^3/3+…..+x^n/nC++ program to find the sum of the series x+x^2/2+x^3/3+…..+x^n/nC++ program to find sum of series 1^2+3^2+5^2+……+n^2C++ program to find sum of series 1/2+4/5+7/8+…… +1 Tweet Share5 Share Pin StumbleShares 5

muskaan dhasmana October 2, 2016 program in c++ to find sum of series sum=1+(1+2)+(1+2+3)+……………..n Reply ↓

1/x+2/x×x+……….n/x×n

Answer of the coading

program in c++ to find sum of series sum=1+(1+2)+(1+2+3)+……………..n