2 solutions

  • 1
    @ 2026-3-8 14:59:54
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        char n;
        cin>>n;
        if ('A'<=n && n<='Z'){
        	cout<<"upper case";
    	}
    	if ('a'<=n && n<='z'){
    		cout<<"lower case";
        }
        return 0;
    }

    Information

    ID
    15
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    312
    Accepted
    102
    Uploaded By