|
@@ -0,0 +1,95 @@
|
|
|
+#include <iostream>
|
|
|
+
|
|
|
+int main1()
|
|
|
+{
|
|
|
+ #if 0
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ int score = 0;
|
|
|
+ std::cout << "请输入一个分数" << std::endl;
|
|
|
+ std::cin >> score;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ std::cout << "您输入的分数为: " << score << std::endl;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if (score > 600)
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您考上了一本大学" << std::endl;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ int score = 0;
|
|
|
+ std::cout << "请输入您的分数:" << std::endl;
|
|
|
+ std::cin >> score;
|
|
|
+
|
|
|
+ std::cout << "您输入的分数为:" << score << std::endl;
|
|
|
+
|
|
|
+
|
|
|
+ if (score > 600)
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您考上一本大学" << std::endl;
|
|
|
+
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您未考上一本大学" << std::endl;
|
|
|
+ }
|
|
|
+
|
|
|
+#endif
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ int score = 0;
|
|
|
+ std::cout << "请输入您的分数:" << std::endl;
|
|
|
+ std::cin >> score;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ std::cout << "您输入的分数为:" << score << std::endl;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if (score > 600)
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您考上了一本大学!" << std::endl;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ else if (score > 500)
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您考上了二本大学!" << std::endl;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ else if (score > 400)
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您考上了三本大学!" << std::endl;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ else if (score <= 400)
|
|
|
+ {
|
|
|
+ std::cout << "恭喜您未考上本科!" << std::endl;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ system("pause");
|
|
|
+
|
|
|
+ return 0;
|
|
|
+
|
|
|
+}
|