Write a program that takes one or more strings as arguments and a number between 0 and 13 as the last argument.
The program must shift each alphabetical character in each string by the given number of positions in the alphabet, using a Caesar cipher.
See it in action
./caesar "Hello World" 3
Expected result
Khoor Zruog
Your checklist
For your own tracking. Tests grade your code.
More examples
./caesar "Hello" "World" 3
Expected result
Khoor
Zruog
./caesar "" 5
Expected result
(empty result)
Constraints
Expected files
caesar.c
Allowed functions
write
Allowed headers
unistd.h
Tests
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.