
Write a program that takes a string and prints it after folding each lowercase letter to its alphabetical opposite, then a newline.
./alpha_fold "hello"Expected result
svoolFor your own tracking. Tests grade your code.
./alpha_fold "Hello" | cat -eExpected result
Hvool$./alpha_fold "deploy on friday" | cat -eExpected result
wvkolb lm uirwzb$./alpha_fold | cat -eExpected result
wrong number of arguments$Expected files
alpha_fold.cAllowed functions
write
v0.40: Create exercises. Challenge the community.
Meet Studio →Write a program that takes a string and prints it after folding each lowercase letter to its alphabetical opposite, then a newline.
./alpha_fold "hello"Expected result
svoolFor your own tracking. Tests grade your code.
./alpha_fold "Hello" | cat -eExpected result
Hvool$./alpha_fold "deploy on friday" | cat -eExpected result
wvkolb lm uirwzb$./alpha_fold | cat -eExpected result
wrong number of arguments$Expected files
alpha_fold.cAllowed functions
write
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.