Due in class, Wednesday 21 Oct.
Read through the four prize functions that correctly calculate the winnings and try to figure out how they work. Which function is the easiest to understand? Which is the hardest? Why?
For each function, write a couple of sentences describing its basic strategy. Conclude with a paragraph or two discussing which you think the best solution is and why? Is there anything that the best solution could incorporate from the other approaches to make it even better?
If you didn't get all the answers correct in your function, write a paragraph critiquing your strategy.
Graded out of five. 5 = succinct descriptions of strategy and deep, insightful overall analysis. 4 = good descriptions and analysis. 3 = description and analysis miss minor features. 2 = description and analysis miss major features of importance.