哪里出錯了
#include <stdio.h>
int main()
{
??? int score = 7200;
??? //完善一下代碼
??? if (score>=10000)
??? {
??????? printf("鉆石玩家");
??? }
??? else if (score>=5000&&score<10000)
??? {
??????? printf("白金玩家");???
??? }
??? else if (score>=1000&&score<5000)
??? {
??????? printf("青銅玩家");????
??? }
?? else
??? {
??????? printf("普通玩家");???
??? }
??? return 0;
}
2018-08-15
括號錯了,要英語的括號
2018-08-15
else if (score>=5000&&score<10000)
?else if (score>=1000&&score<5000)
這兩行的括號是中文的括號。