Assignment 2
This assignment is worth 10 points.
When you finish this assignment you should be able
- Enter a program.
- Compile a program.
- Run a program.
Instructions
- Please read the instructions for the game Grandmother's Trunk.
We will write a program to play this game (somewhat).
- Please type in the following code:
- Compile this code, removing errors if necessary.
- Run the code.
- Add comments
- At the top
- Your Name
- Assignment 2
- The date
- A brief description of what the code does
- By each variable and constant
- A brief description of what you think the variable or constant is used for.
- Please change the items to match your personality. What would you find in
your grandmother's trunk?
When you are finished attach a copy of your source code (.C or .cpp file)
to an email message to danbennett360@gmail.com.
Make sure you include your name in the email message.