#include <stdio.h> //求任意整数的阶乘 //如果输入3则输出3!=6 main() { int n,a,c=1; scanf("%d",&n); for(a=1;【1】;a++) c=【2】; printf("%d!=%d",【3】); getchar(); }
#include <stdio.h> //求任意整数的阶乘 main() { int n,a,c=1; scanf("%d",&n); for(a=1;a<=n;a++) c=c*a; printf("%d!=%d",n,c); getchar(); }
标签:int,scanf,C语言,阶乘,填空,main From: https://www.cnblogs.com/xkdn/p/17106995.html