#include<stdio.h>
int main()
{
int i,x;
int c=1;
printf("please enter the value what you want");
scanf("%d",&x);
for(i=1;i<=x;i++)
{
c=c*i;
printf("%d!=%d\n",i,c);
}
return 0;
}
一到x之间的阶乘
最新推荐文章于 2023-02-22 21:44:42 发布