Discrete Mathematics with Applications by Susanna S Epps, 4th Edition
Exercise Set 9.6 Problem 18
A large pile of coins consists of pennies, nickels, dimes, and quarters.
a. How many different collections of 30 coins can be chosen if there are at least 30 of each kind of coin?
b. If the pile contains only 15 quarters but at least 30 of each other kind of coin, how many collections of 30 coins can be chosen?
c. If the pile contains only 20 dimes but at least 30 of each other kind of coin, how many collections of 30 coins can be chosen?
d. If the pile only contains 15 quarters and only 20 dimes, but at least 30 of each other kind of coin, how many collections of 30 coins can be chosen?
Discrete Mathematics with Applications by Susanna S Epps, 4th Edition Exercise Set 9.6 Problem 18 A large pile of coins consists of pennies, nickels, dimes, and quarters. a. How many different collect...
Discrete math (please answer with legible handwriting). A large pile of coins consists of pennies, nickels, dimes, and quarters (at least 20 of each). a) How many different collections of 20 coins can be chosen? b) How many different collections of 20 coins chosen at random will contain at least 3 coins of each type?
Your program must meet the following specifications: 1. At program start, assume a stock of 10 nickels, 10 dimes, 10 quarters, and 10 pennies. 2. Repeatedly prompt the user for a price in the form xX.xx, where X denotes a digit, or to enter q' to quit 3. When a price is entered a. If the price entered is negative, print an error message and start over requesting either a new price or to quit (indicated by entering a 'q)...