#include <iostream>
using namespace std;
int main()
{
int score = 0;
cout << "请输入一个分数: " ;
cin >> score;
cout << "您的分数为: " << score << endl;
if (score > 600)
{
cout << "恭喜您考上重点大学" << endl;
}
cout << "\n" << endl;
if (score > 600)
{
cout << "恭喜您考上重点大学" << endl;
}
else
{
cout << "很遗憾你去复读吧" << endl;
}
cout << "\n" << endl;
if (score > 600)
{
cout << "恭喜您考上重点大学" << endl;
if (score > 700)
{
cout << "恭喜你考入清华大学" << endl;
}
else if (score > 650)
{
cout << "恭喜您考入北京大学" << endl;
}
else
{
cout << "您能考入人民大学" << endl;
}
}
else if(score>500)
{
cout << "恭喜您考上普通大学" << endl;
}
else if (score > 400)
{
cout << "恭喜您考上野鸡大学" << endl;
}
else
{
cout << "四百分考不了你个废物" << endl;
}
cout << "\n" << endl;
int num1 = 0;
int num2 = 0;
int num3 = 0;
cout << "请输入小猪A的体重";
cin >>num1;
cout << "请输入小猪B的体重";
cin >> num2;
cout << "请输入小猪C的体重";
cin >> num3;
if (num1 > num2)
{
if (num1 > num3) {
cout << "小猪A最重" << endl;
}
else {
cout << "小猪C最重" << endl;
}
}
else
{
if (num2 > num3) {
cout << "小猪B最重" << endl;
}
else{
cout << "小猪C最重" << endl;
}
}
system("pause");
return 0;
}