输入一个数字,计算其阶乘(使用for循环) #include<stdio.h> int main() { printf("Input a number:"); int n,sum=1; scanf("%d"