This one is a puzzle. You’ll need to break this down into steps and then probably look up some facts (or ask me) to figure out how to do the steps. Have fun! Note: you don’t need to change any of the code that’s already here: you just need to fill out the missing code to make what’s here work.
Your goal is to run the program and reveal the secret message. Then, for
the second half, write encode, the inverse of
decode, and uncomment the last line of main so
the program also prints the encryption of “I have implemented encode.”
Each check looks for its answer on a line by itself anywhere in the
output, so extra lines of debugging output are fine. Next to “Output”
you’ll see how many of the two checks you’ve passed, and a green check
once both are right.