得分排位赛

#include <iostream>
using namespace std;
int main(int argc, char** argv) {
    int x;
    cin>>x;
    if(x>=95 && x<=100){
        cout<<"你获得了王者称号"; 
    }else if(x>=90 && x<=94){
        cout<<"你获得了星耀称号";
    } else if(x>=80 && x<=89){
        cout<<"你获得了钻石称号";
    }else if(x>=70 && x<=79){
        cout<<"你获得了铂金称号"; 
    }else if(x>=60 && x<=69){
        cout<<"你获得了黄金称号";
    }else if(x>=50 && x<=59){
        cout<<"你获得了白银称号";
    }else if(x>=40 && x<=49){
        cout<<"你获得了青铜称号";
    }else if(x<40){
        cout<<"你获得了男女双打陪练运动员称号";
    }else{
        cout<<"请正确输入你的成绩"; 
    }
    return 0;
}

 

posted @ 2023-01-31 16:49  fushuxuan1  阅读(20)  评论(0)    收藏  举报