CSCA67H3 Study Guide - Midterm Guide: Pseudocode, Global Variable, Sample Space
![CSCA67H3 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2143461-class-notes-ca-utsc-csca-67h3-lecture2.jpg)
6
CSCA67H3 Full Course Notes
Verified Note
6 documents
Document Summary
Midterm exercise: homer"s pizza is advertising the following deal: 3 pizzas, up to 4 toppings each, 10 toppings to choose from. 3 soft drinks, 5 varieties to choose from total cost . 99. The pizza toppings must be unique double, triple, or quadruple toppings are not allowed. The order of the toppings is not relevant, and 3 of the same pizza and/or 3 of the same soft drink is allowed. Homer"s pizza is setting up an advertising campaign and would like to brag about the total number of combinations to choose from. Show all of your work intermediate formulae and final answer. To calculate the total combinations, i must calculate the number of combinations for 1 pizza. The order of the topping on the pizza does not matter so i will also have to divide it by the number of times i am over counting the combinations. 3 toppings (10 * 9 * 8)/3!