1 solutions

  • 0
    @ 2025-11-5 16:28:57

    C :

    #include<stdio.h>
    int main()
    {
    	char c='A';
    	printf("%c\n%d\n",c+32,c+32);
        return 0;
    }
    

    C++ :

    #include<iostream>
    using namespace std;
    int main()
    {
    char a,b,c;
    int d,e,f;
    cin>>a;
    d=(int)a;
    d=d+32;
    b=(char)d;
    cout<<b<<endl<<d<<endl;
    }
    
    • 1

    Information

    ID
    17788
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By