
Implement gm_toupper, your own toupper, which returns the uppercase form of a lowercase letter and returns every other character untouched.
gm_toupper('a')Expected result
AFor your own tracking. Tests grade your code.
gm_toupper('Z')Expected result
Zgm_toupper('5')Expected result
5Expected files
toupper.cAllowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

Implement gm_toupper, your own toupper, which returns the uppercase form of a lowercase letter and returns every other character untouched.
gm_toupper('a')Expected result
AFor your own tracking. Tests grade your code.
gm_toupper('Z')Expected result
Zgm_toupper('5')Expected result
5Expected files
toupper.cAllowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.
v0.40: Create exercises. Challenge the community.
Meet Studio →