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