請(qǐng)問(wèn)代碼是哪里錯(cuò)了那
#include <stdio.h>
int main()?
{ ? ? ??
? ? int height = 185;
? ? int h=180;
? ? printf("小明是否可以參加:");
? ? printf("%c\n",height>=h? 'y':'n');
? ? return 0;
}
#include <stdio.h>
int main()?
{ ? ? ??
? ? int height = 185;
? ? int h=180;
? ? printf("小明是否可以參加:");
? ? printf("%c\n",height>=h? 'y':'n');
? ? return 0;
}
2016-07-02
舉報(bào)
2016-07-03
第一個(gè)printf語(yǔ)句后面的;應(yīng)該改為英文的;
2016-07-03
你的第一個(gè)printf語(yǔ)句后面的;錯(cuò)了。