Program 342 : Sum Series (1+(1*2)+(1*2*3)+....till N
//Coming Soon
Output:
#include<stdio.h> main() { int i,j,terms,sum=0,mul; printf("Enter number oof Terms\n"); scanf("%d",&terms); for(i=1;i<=terms;i++) { mul=1; for(j=1;j<=i;j++) { mul*=j; } sum+=mul; } printf("Sum of Series : %d\n",sum); }Explanation:
Output: