Your programs will have 3 levels of documentation.
Use the template: Program Template for a Menu Driven Program using Functions
Give your program an appropriate name.
Divide your solutions into functions and variables. When you need to store something, that's your clue to make a variable. When you need to DO ONE THING, that's your clue to write a function.
1. Island Dice. In the Island Dice Roll game, the player begins with a score of 1000 shells. The player is prompted for the number of shells to risk and a second prompt asks the player to choose either high or low. The player rolls two dice and the outcome is compared to the player’s choice of high or low. If the dice total is between 2 and 6 inclusive, then it is considered low. A total between 8 and 12 inclusive is high. A total of 7 is neither high nor low, and the player looses the shells at risk. If the player has called correctly, the shells at risk are doubled and added to the total shells. For a wrong call, the player loses the shells at risk.
Formative Evaluation