哪里錯了?符號也正確,就是不行
#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;
}
2023-05-14
舉報
2023-05-16
#include <stdio.h>
int main()?
{? ? ? ?
? ? int height = 185;
? ? //補全所有代碼
? ? if(height>=180)
? ? {
? ? ? ? printf("%s\n","恭喜小明可以參加校籃球隊");
? ? }
return 0;
}
你在if語句下面的{}少了}。