Tuesday, May 20.

সুপার-ঘূর্ণিঝড়-আম্পান!

1+2+3+..........................+n

maxresdefault


#include<stdio.h>

int main ()

// sum of 1+2+.......+n series in c programming language

{

int n,i;

int sum=0;

printf(''Enter the n th value: ")

scanf(''%d"&n);

sum=(n*(n+1))/2;

printf(''Sum of the series: ")

}

No comments

If you have any doubt, please let me know that with your valuable comments.

পৃষ্ঠা

সর্বশেষ খবর

COVID-19 থেকে বাঁচার উপায় !

CovidUpdated1