摘要: # includeint main(void){ printf("Progmming is fun.\n"); printf("And programming in C is even more fun!\n"); return 0;}#includeint main(void){ int celsius,fahr; fahr=100; celsius = 5 * (fahr-32)/9; printf("fahr=%d,celsius = %d\n",fahr,celsius); return 0; }#include int ma 阅读全文
posted @ 2013-10-07 15:22 红颜文丛 阅读(160) 评论(0) 推荐(0) 编辑
摘要: # includeint main(void){ printf("Progmming is fun.\n"); printf("And programming in C is even more fun!\n"); return 0;}#includeint main(void){ int celsius,fahr; fahr=100; celsius = 5 * (fahr-32)/9; printf("fahr=%d,celsius = %d\n",fahr,celsius); return 0; }#include int ma 阅读全文
posted @ 2013-10-07 14:48 红颜文丛 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #includeint main(void){ int n; int factorial(int n); scanf("%d",&n); printf("%d\n",factorial(n)); return 0;}int factorial(int n){ int i,fact=1; for(i=1;iint main(void){ printf("Hello World!\n"); return 0;} 阅读全文
posted @ 2013-10-07 09:27 红颜文丛 阅读(113) 评论(0) 推荐(0) 编辑