首页 > 其他分享 >随堂练习

随堂练习

时间:2023-01-31 17:25:40浏览次数:29  
标签:std int 练习 随堂 && main

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

  

标签:std,int,练习,随堂,&&,main
From: https://www.cnblogs.com/wangyihang-xh/p/17079870.html

相关文章