CS120
Lab #5

Due at the end of lab.

For this lab you will be experimenting with functions that use 'pass-by-value' and 'pass-by-reference' for their arguments. There are four questions as part of the lab, and you will need to turn in your (short) answers to these questions.

Turn in: Use the script command to demonstrate how your program runs. Place the output from the script command in a file named Lab5output.txt. Add your answers to the four questions above to the script file, then turn in a copy of your program code and your Lab5output.txt file to Canvas.