1. Post a screenshot of your code for the caesarDecrypt function.
2. Explain the difference between a function and a procedure. Give an example of a function.
Answer
A function is a procedure that returns a value.
3. Explain the difference between global and local variables. Why are local variables easier to debug than global variables?
Answer
Global variables can be changed and used anywhere in the program. Local variable work just in a specific procedure. a global variable is harder to debug because they can be changed anywhere in the program. a local variable is easier to debug because only the specific procedure where it is used has to be debugged. Local variables also take up less memory in the computer.