為什么錯???頭都大了。。。。。
#include <stdio.h>
int main()?
{
? ? int score=7200;
? ??
? ? if (score>=10000)
? ? {
? ? ? ? printf("鉆石玩家");
? ? ? ??
? ? }
? ? else if(score>=5000)
? ? {??
? ? ? ??
? ? ? ? printf("白金玩家");
? ? ? ??
? ? }
? ??
? ? else if(socre>=1000)
? ??
? ? {
? ? ? ? printf("青銅玩家");
? ??
? ? ? ??
? ? }
? ? else
? ? {
? ? ? ? printf("普通玩家");
? ? ? ??
? ? }
? ??
? ? return 0;
}? ??
2019-11-28
第二個是else if括號中的score,你寫成socre了。
2019-11-26
參考答案