请问这个哪里错了0.0

来源:4-3 分支结构之多重if-else语句

小白PE

2018-08-14 15:03

#include <stdio.h>

int main() 

{

    int score = 7200;

    //完善一下代码

     if(score>=10000)

    {

        printf("%s\n""钻石玩家");

    }

    else if(score<=10000&&score>5000)

    {

        printf("%s\n""白金玩家");    

    }

    else if(score<=5000&&score>1000)

    {

        printf("%s\n""青铜玩家");     

    }

   else

   {

        printf("%s\n""普通玩家");    

    }

    return 0;

}


写回答 关注

1回答

  • 慕姐3089598
    2018-08-14 15:25:42
    已采纳

    两个“”“”之间要加逗号

    小白PE

    非常感谢!

    2018-08-14 15:51:24

    共 1 条回复 >

C语言入门

C语言入门视频教程,带你进入编程世界的必修课-C语言

926825 学习 · 20803 问题

查看课程

相似问题