摘要:
#include<stdio.h>#include<stdlib.h>int main(void){ int c; c = factorial(5); printf("the res is: %d\n",c); system("pause"); //return 0;}int factorial(int a){ int res; if(a<0){ printf("error\n"); system("pause"); exit(EXIT_FAILURE); } if(a==1||a== 阅读全文
posted @ 2012-07-29 15:15
ligang305
阅读(149)
评论(0)
推荐(0)
摘要:
http://jingyan.baidu.com/article/fec7a1e53efe621190b4e7ae.html 阅读全文
posted @ 2012-07-29 14:27
ligang305
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号