#include <stdio.h>
int main()
{
int count = 1;
int a = 0;
int b = 0;
scanf("%d", &a);
for (b = 1; b <= a; b++)
{
count = b * count;
}
printf("%d", count);
return 0;
}
10-17
1339
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-03
9942
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-24
2579
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-18
4万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)