//做阶乘题可以考虑递归的方式进行计算
#include<stdio.h>
long int fun(int x)
{
long int t;
if(x==0||x==1)t=1;
else return x*fun(x-1);//利用fun(x-1)来循环
return t=1; }
int main()
{
//做阶乘题可以考虑递归的方式进行计算
#include<stdio.h>
long int fun(int x)
{
long int t;
if(x==0||x==1)t=1;
else return x*fun(x-1);//利用fun(x-1)来循环
return t=1; }
int main()
{