Use the cashiers algorithm to make change using quarters, dimes, nickels, and pennies for the following amounts
Fantastic news! We've Found the answer you've been seeking!
Question:
Use the cashier’s algorithm to make change using quarters, dimes, nickels, and pennies for the following amounts of money. You do not have to specifically show how you greedily formed change, but rather there are many ways to make this change and only the cashier’s/greedy distribution will be accepted.
a) 87 cents.
b) 49 cents.
c) 99 cents.
d) 33 cents.
Related Book For
Discrete Mathematics and Its Applications
ISBN: 978-0073383095
7th edition
Authors: Kenneth H. Rosen
Posted Date: