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 ↓

Gohar December 11, 2016 bhai may nay ek program solve karna hy jis may hum nay ye series banana 1+1/4+1/8+1/12+…1/100 kay ap bata saktay ho kaisay maloom karni hy c++ may Reply ↓

Mujeeb Ijaz December 25, 2016 #include using namespace std; void main() { float num=0; for (float i=4; i<=100; i=i+4) { num=num+(1/i); } num=num+1; cout << num; system("pause"); } Reply ↓

tanvir March 22, 2017 bro what is the program for this series 1+1+2+1+2+3+1+2+3+4+…………..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

bhai may nay ek program solve karna hy jis may hum nay ye series banana 1+1/4+1/8+1/12+…1/100

kay ap bata saktay ho kaisay maloom karni hy c++ may

#include

using namespace std;

void main()

{

float num=0;

for (float i=4; i<=100; i=i+4)

{

num=num+(1/i);

}

num=num+1;

cout << num;

system("pause");

}

bro what is the program for this series

1+1+2+1+2+3+1+2+3+4+…………..1+2+3+………+n