![](https://lstatic.shangxueba.com/jiandati/pc/images/pc_jdt_tittleico.png)
完成函数float fact(int n)。该函数的功能是:计算:的值。include <stdio.h>main(){int m;flo
完成函数float fact(int n)。该函数的功能是:计算:的值。
include <stdio.h>
main()
{int m;
float fact (int n);
scanf("%d",&m);
printf("sum=%f\n",fact(m));
}
float fact(int n)
{int i,j,k=1;
float f=0.0,s;
}
___________________________
_________________________
_________________________
_________________________
_________________________
_________________________
![](https://lstatic.shangxueba.com/jiandati/pc/images/jdt_panel_vip.png)