#include <stdio.h>
int main()
{
int score = 7200;
//完善一下代码
if(score>=10000)
{
printf("钻石玩家");
}
else if(score>=5000)
{
printf("白金玩家");
}
else if(score>=1000)
{
printf("青铜玩家");
}
else
{
printf("普通玩家");
}
return 0;
}if(score>=10000)这里 括号使用了中文符号,应为英文符号. ()
这么小的区别怎么看?
你就看它是占了几个格,全角字符和半角字符不一样的
if(score>=10000)这里 括号使用了中文符号,应为英文符号. ()
我知道了 第一行的括号是用的是中文括号。。。。醉了 找了好久