C program to find Sum of Series using for loop Arogya Thapa Magar at February 17, 2018 C Programming, #include<stdio.h>#include <conio.h>int main(){ int i,j=0,n,sum; printf("How many series?"); scanf("%d",&n); for(i=1; j { printf("%d\n",i); j++; sum=sum+i; } printf("Sum is %d",sum); return 0;}OUTPUT Share To: NextNewer Post PreviousOlder Post Arogya Thapa Magar View Profile
Post A Comment:
0 comments so far,add yours