Question: plz i need the solution in C++ code N. Char time limit per test: 0.25 seconds memory limit per test: 64 megabytes input: standard input
N. Char time limit per test: 0.25 seconds memory limit per test: 64 megabytes input: standard input output: standard output Given a letter X. If the letter is lowercase print the letter after converting it from lowercase letter to uppercase letter. Otherwise print the letter after converting it from uppercase letter to lowercase letter Note : difference between 'a' and 'A' in ASCII is 32. Input Only one line containing a character X which will be a capital or small letter. Output Print the answer to this problem. Examples input Copy output Copy A input Copy A output Copy a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
