program in C language

Write a program in C language to display the series with their sum 1,2,3,4 up to 10th terms.


Soln,

#include

Int main()

{

Int I,s=0;

{

Printf(“%d”, I);

s=s+i;

}

Printf(Sum is%d” , s);

return 0;

}















WRITE MY PAPER