1 solutions

  • 0
    @ 2026-1-5 22:38:55
    #include<bits/stdc++.h>
    using namespace std;
    
    char a;
    
    int main(){
        
        cin>>a;
        if(a>='A'&&a<='Z') cout<<"upper";
        else if(a>='a'&&a<='z') cout<<"lower";
        else if(a>='0'&&a<='9') cout<<"digit";
        else cout<<"other";
        
        return 0;
    }
    
    • 1

    Information

    ID
    29
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    8
    Tags
    # Submissions
    11
    Accepted
    8
    Uploaded By