A function is doing your homework and tell me how much homework you did.Įxplain the difference between global and local variables.
For example, a procedure would be washing clothes, doing your homework, eating dinner. A function is a set of instructions that returns a result.
Give an example of a function.Ī procedure is a set of instructions that runs independently. For decryption, loop through the ciphertext and replace every character with the corresponding letter from the PLAIN_ALPHABET.Įxplain the difference between a function and a procedure. Insert a screenshot of your code for the caesarDecrypt function.ĭescribe what caesarDecrypt does and how it contributes to the overall functionality of the program.Ĭaesar Decrypt the mirror image of Encrypt.