
Write a program that receives a single string argument and prints it with every letter advanced by one position in the alphabet.
./shift_alpha "xyz"Expected result
yza
For your own tracking. Tests grade your code.
./shift_alpha "ci passed locally" | cat -eExpected result
dj qbttfe mpdbmmz$./shift_alpha | cat -eExpected result
wrong number of arguments$Expected files
shift_alpha.cAllowed functions
write
Write a program that receives a single string argument and prints it with every letter advanced by one position in the alphabet.
./shift_alpha "xyz"Expected result
yza
For your own tracking. Tests grade your code.
./shift_alpha "ci passed locally" | cat -eExpected result
dj qbttfe mpdbmmz$./shift_alpha | cat -eExpected result
wrong number of arguments$Expected files
shift_alpha.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.
v0.40: Create exercises. Challenge the community.
Meet Studio →