不知道錯在哪了
#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;
}
2021-01-23
舉報
2021-01-23
你的if的花括號少了一個
2021-01-23
#include <stdio.h>
int main()?
{? ? ? ?
? ? int height = 185;
? ? //補全所有代碼
? ? if(height >= 180)
? ? {
? ? ? ? printf("%s\n"," 恭喜小明可以參加校籃球隊 ");
? ? }
? ? else
? ? {
? ? ? ? printf("%s/n","小明不能參加?;@球隊");
? ? }
return 0;
}