最新回答 / 慕粉1943441940
#include <stdio.h>int main()//这里是主函数{/* 定义年份*/ int year ; year = 2017; printf("this year is %d,year\n",year);//显示年份 没有调用定义的year变量 printf("i am a student"); return 0;}
2017-08-05
最新回答 / 雨后知晴
告诉你一个事实,慕课网这里的输入他是判断是否符合它规定你输入的。用了别的方法完全符合题意也会不通过,而错误的但符合它的“审核”却能通过。不能完全信它。右边是编译过程。比如你这个完全错误,理由看上面的回答。
2017-08-04
最新回答 / treehuang
#include <stdio.h>int getPeachNumber(int n) //这里要定义n,要不编译器会报错!{ int num; if(n==10) { return 1; } else { num = (getPeachNumber(n+1)+1)*2; printf("第%d天所剩桃子%d个\n", n, num); } return num;}int ma...
2017-08-04