How can I fix my compiler error on line 12 of me code? It's not working for some reason. May I have feedback please?
This is the problem:
Your country is at war and your enemies are using a secret code to communicate
with each other. You have managed to intercept a message that
reads as follows:
:mmZ\dxZmx]Zpgy
Write a program that decrypts the intercepted message. You only know
that the key used is a number between 1 and 100. Your program should
try to decode the message using all possible keys between 1 and 100.
When you try the valid key, the message will make sense. For all other
keys, the message will appear as gibberish.
You're getting a compiler error because you have not defined message or key.
In main, before you call the input function, you need to have those variables defined.