1 solutions

  • 0
    @ 2025-4-20 10:54:19
    #include<bits/stdc++.h>
    using namespace std;
    typedef int itn;
    int main(){
        char n;cin>>n;
        if(isupper(n)) cout<<"upper";
        else if(islower(n)) cout<<"lower";
        else if(isdigit(n)) cout<<"digit";
        else cout<<"other";
        return 0;
    }
    
    • 1

    Information

    ID
    849
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    1
    Accepted
    1
    Uploaded By