Previous: 8.6 Exercises
Up: 8 Functions and Files
Previous Page: 8.6 Exercises
CALENDAR FOR THE MONTH
sun mon tue wed thu fri sat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
first\_card() that draws a random card from a full deck.
second\_card() that draws a random card from the remaining deck.
Similarly, write third\_card() and fourth\_card().
For the last three functions, you will need arguments that indicate what cards have already been drawn from the deck.
Get data: gets id numbers and integer scores for a set of 3 projects from a
file. Assume that the id numbers start at 0 and go up to a maximum of 99.
Print data: prints the scores.
Average scores: averages each set of scores.
Change scores: allows the user to make changes in scores for any project
and for any id number.