#includeint main(){ int i,n,sum; int fact(int n); sum=0; n=100; for(i=1;i<=n;i++){ sum=sum+fact(i); } printf("1!+2!+...+100!=%d\n",sum); return 0;}int fact(int n){ int i; double result; result=1; for(i=1;i<=n;i++){ result=result*i; } return result;}