慕码人9184909
2020-02-19 11:39
#include <stdio.h>
int main()
{
int score = 7200;
//完善一下代码
if(score >= 10000)
{
printf("钻石玩家");
}
if(score >= 5000)
{
printf("白金玩家");
}
else if(score < 1000)
{
printf("青铜玩家");
}
else
{
printf("普通玩家");
}
return 0;
}
第一个if的括号不对
是中文下的
换输入法
敲代码的时候最好用win+空格换成英文再打
全角半角肉眼看瞎了都看不出来 可以自己下个ide运行下
C语言入门
928162 学习 · 21543 问题
相似问题