#2460. 【例29.1】 求阶乘
【例29.1】 求阶乘
说明
利用for循环求$n!$的值。提示,$n!=1×2×...×n$。
输入格式
输入一个正整数$n$,对于所有数据,$1≤n≤20$。输出格式
输出$n!$的值。4
24
4
24
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.