بيان المشكلة
Write a function char toUpper(char c) that converts a lowercase letter to uppercase.
If it's already uppercase or not a letter, return it unchanged.
DEMO-C-32 • Programming in C
Write a function char toUpper(char c) that converts a lowercase letter to uppercase.
If it's already uppercase or not a letter, return it unchanged.
A single character.
Ideally uppercase character.
Submit runs every public testcase in this browser. Results and code never leave this device.
a
A
A
A
1
1
!
!
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question