//练习n的阶乘
#include<stdio.h>
int main()
{
int n = 0;
scanf( "%d", &n);
int sum = 1;
for (int i = 1; i <= n; i++)
{
sum *= i;
}
printf( "%d\n", sum);
system( "pause");
return 0;
}


练习n的阶乘_n的阶乘