4 solutions

  • 0
    @ 2023-10-3 17:19:15

    算是一道入门题目了

    #include <bits/stdc++.h>
    using namespace std;
    int main(void)
    {
        int score;
        cin>>score;
        if((90<=score)&&(score<=100))
        {
            cout<<"Great"<<endl;
        }
        else if ((70<=score)&&(score<=89))
        {
            cout<<"Good"<<endl;
        }
        else if ((60<=score)&&(score<=69))
        {
            cout<<"Average"<<endl;
        }
        else
        {
            cout<<"Poor"<<endl;
        }
        return 0;
    
    }
    

    Information

    ID
    40
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    5
    Tags
    # Submissions
    861
    Accepted
    359
    Uploaded By