#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; }
标签:std,得分,int,排位赛,60,&& From: https://www.cnblogs.com/fushuxuan/p/17079772.html