1:代码如下:

// 3.2.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include <iostream>
using namespace std;
void main()
{
    int iInput;
    cout<<"大于90为优秀成绩"<<endl;    
    cout<<"请输入学生成绩"<<endl;
    cin >> iInput;

    if(iInput>90)
        cout << "成绩优秀" << endl;
    else
        cout << "成绩非优秀" << endl;
}
View Code

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-09-22
  • 2021-10-06
  • 2022-12-23
  • 2021-04-15
猜你喜欢
  • 2021-08-16
  • 2021-05-24
  • 2021-05-19
  • 2021-05-12
  • 2021-08-10
相关资源
相似解决方案