标签:system return
#include<stdio.h>int main(){ int i = 0; int j = 0; int sum = 1; int tmp = 1; for (i = 1; i < 11; i++) { tmp = tmp * i; sum += tmp; } printf("%d", sum); system("pause"); return 0;}
1!+2!+.....+10!的计算
原文地址:http://10942013.blog.51cto.com/10932013/1720059