【自己整理】C语言重要程序算法实例整理.doc
/*C语言重要程序算法实例整理*/ //递归练习阶乘 #include"stdio.h" float fac(int x; void main) { int n;puts"Input the number; scanf%d&n; float f; f=fac(n; printf%d!=%2.f,n,f; } float fac(int x) { int f=x; if(x
下载地址
用户评论