You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
232 B

#include<iostream>
using namespace std;
int main()
{
int m; //定义变量
cout<<"m=";//提示输入
cin>>m; //读入音乐成绩
//依据音乐成绩发放不同广告内容
if(m>=80) cout<<"非常欢迎你参加音乐社";
else cout<<"欢迎你参加音乐社";
return 0;
}