- 博客(4)
- 收藏
- 关注
原创 中国大学MOOC-翁恺-C语言程序设计习题集 题目号03-1 Source code
#include int main() { int a,b; scanf("%d",&a); b=a%5; if (b==0||b>3) printf("Drying in day %d\n",a); else printf("Fishing in day %d\n",a); return 0; }
2015-06-22 11:09:24 1112
原创 中国大学MOOC-翁恺-C语言程序设计习题集 题目号03-0 Source code
#include int main() { int a; scanf("%d",&a); if (a else printf("Speed: %d - Speeding\n",a); return 0; }
2015-06-22 11:06:22 829
原创 中国大学MOOC-翁恺-C语言程序设计习题集 题目号02-4 Source code
#include int main() { int a; scanf_s("%d", &a); printf("%x\n", a); return 0; }
2015-06-22 10:56:50 904
原创 中国大学MOOC-翁恺-C语言程序设计习题集 题目号02-3 Source code
#include int main() { int a,b,c,d; scanf("%d",&a); if(a%100==0) printf("%d\n",a/100); else if(a%10==0){ b=a/100,c=(a-b*100)/10,printf("%d%d\n",c,b);} else {b=a/100,c=(a-b*100)/10
2015-06-22 10:50:45 1091
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人