為什么系統說這里沒有“白金玩家”
#include <stdio.h>
int main()
{
??? int score = 7200;
??? //完善一下代碼
??? if(score>=10000)
??? {
??????? printf("%s\n","鉆石玩家");
??? }
??? else if(score>=5000)
??? {
??????? printf("%s\n","白金玩家");???
??? }
??? else if(score>=1000)
???
??? {
??????? printf("%s\n","青銅玩家");????
??? }
??? else if
?
??? {
??????? printf("%s\n","普通玩家");???
??? }
??? return 0;
}
2016-10-28
因為程序有錯誤呀,倒數第六行的else if改為 else就行了
望采納