CS120
Programming Assignment #9

Due Friday Oct. 27th at the beginning of lecture.

For this assignment you will be modifying the Pet Program we worked with earlier. You should work from the version you created in assignment 7. If you didn't complete Assignment 7 you may work from the original Pet program, but make that clear in the comments at the beginning of your program. For either approach it is recommended that you begin with a copy of the code, so you have the old version to go back to.

The general idea for this program is that the player has four pets, stored as an array, rather than just one pet that they can intereact with. This will require making the following additions to the program:

Turn in: A copy of the program and sample, annotated output showing the program runs. Note that the sample output will be fairly long to show all of the new features of the program. To annotate the output use a pen or pencil and mark exactly where different "events" occur. For example, point out, in the output, how only the selected pet is interacted with, and where a random event occurs to a different pet than the one the player choose to interact with.