โ Back to If Statements
Question 251
Uppercase or Lowercase Letter
Uppercase or Lowercase Letter
Read a single letter from input withscanf. If it is an uppercase letter ('A'through'Z'), print exactly: Uppercase Otherwise (a lowercase letter), print exactly: Lowercase Do not print a trailing newline. For inputGthe program printsUppercase; for inputmit printsLowercase.
Expected Output:
Uppercase
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.