6 条题解

  • 2
    @ 2024-12-6 17:52:21
    #include<iomanip>
    #include<cmath>
    using namespace std;
    int a;//声明全局变量
    int main()
    {
    	cin>>a;
    	if(a>=90&&a<=100)//判断分数等级
    	cout<<"Great";//输出分数等级
    	else if(a>=70&&a<=89)
    	cout<<"Good";
    	else if(a>=60&&a<89)
    	cout<<"Average";
    	else 
    	cout<<"Poor";
    	return 0;
    }
    
    • 2
      @ 2022-1-23 13:52:53
      #include <iostream>
      using namespace std;
      int main(){
          int n;
          cin>>n;
          if(n>=90)
              cout<<"Great"<<endl;
          else if(n>=70)
              cout<<"Good"<<endl;
          else if(n>=60)
              cout<<"Average"<<endl;
          else    
              cout<<"Poor"<<endl;
          return 0;
      }
      • 1
        @ 2024-11-23 20:21:29
        #include <iostream>
        using namespace std;
        int main()
        {
            int n;
            cin >> n;
            if(90<=n&&n<=100)
            {
                cout << "Great";
            }
            else if(70<=n&&n<=89)
            {
                cout << "Good";
            }
            else if(60<=n&&n<=69)
            {
                cout << "Average";
            }
            else
                cout << "Poor";
            return 0;
        }
        

        有标志认证,属三无产品,请各位放心食用

        • 1
          @ 2023-9-2 16:03:20
          #include <iostream>
          using namespace std;
          int main()
          {
           int n;
           cin>>n;
           if(n>=90&&n<=100)
           {
              cout<<"Great"<<endl;
           }
           else if(n>=70&&n<=89)
           {
              cout<<"Good"<<endl;
           }
           else if(n>=60&&n<=69)
           {
              cout<<"Average"<<endl;
           }
           else if(n>=0&&n<=59)
           {
             cout<<"Poor"<<endl;
           }
             return 0;
          }
          
          • 0
            @ 2023-12-24 13:03:27

            #include<iostream> #include<cmath> #include<iomanip> using namespace std; const int N=1e3+10; const int INF=0x3f3f3f3f; int a; int main(){ cin>>a; if(a<=100&&a>=90) cout<<"Great"; else if(a<=89&&a>=70) cout<<"Good"; else if(a<=69&&a>=60) cout<<"Average"; else cout<<"Poor"; }

            • 0
              @ 2021-10-29 13:03:13
              1. f=eval(input())
              2. if f>=90 and f<=100:
              3. print('Great')
              4. if f>=70 and f<=89:
              5. print('Good')
              6. if f>=60 and f<=69:
              7. print('Average')
              8. if f<=59 and f>=0:
              9. print('Poor')
              • 1

              信息

              ID
              857
              时间
              1000ms
              内存
              128MiB
              难度
              3
              标签
              递交数
              163
              已通过
              90
              上传者