這哪錯了,我太難了
#include <stdio.h>
int main()?
{ ? ? ??
? ? int height = 185;
? ? //補全所有代碼
? ? if(height >= 180)
? ? {
? ? ? ? printf("%s\n", "恭喜小明可以參加?;@球賽");
? ? }
? ??
? ??
? ??
return 0;
}
#include <stdio.h>
int main()?
{ ? ? ??
? ? int height = 185;
? ? //補全所有代碼
? ? if(height >= 180)
? ? {
? ? ? ? printf("%s\n", "恭喜小明可以參加?;@球賽");
? ? }
? ??
? ??
? ??
return 0;
}
2019-10-08
舉報
2019-10-10
你的printf()這個語句后面的分號,是中文的符號,所以報錯,改成英文的分號就可以了
2019-10-09
if語句的大花括號后面要加一個分號
?if (height >= 180){printf("%s\n","恭喜小明可以參加?;@球隊");};? ? ? //補全所有代碼
2019-10-08
2019-10-08
#include <stdio.h>
int main()
{??????
??? int height = 185;
??? //補全所有代碼
???
??? if(height>=180)
??? {
??????? printf("恭喜小明可以參加?;@球隊");
??? }
???
???
?return 0;
}