Question
Now say that the country has fallen into chaos. Theres violence in the street and a pandemic has swept the nation. Strangely enough, tough times
Now say that the country has fallen into chaos. There’s violence in the street and a pandemic has swept the nation. Strangely enough, tough times have also killed the nickel. It no longer exists as valid currency. Use the cashier’s algorithm to make change using quarters, dimes, and pennies (but no nickels) for each of the amounts given. Additionally, for each amount, tell whether the cashier’s algorithm uses the least number of coins to form the amount (still without the possibility of nickels)and if the cashier’s algorithm does not use the least number of coins, what would the least number of coins be to form this amount (which still cannot involve nickels).
a) 87 cents.
b) 49 cents.
c) 99 cents.
d) 33 cents.
Step by Step Solution
3.37 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
C is the correct answer 99 cents set f stes tht re fllwed in rder ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Document Format ( 2 attachments)
60d452b0807b6_227484.pdf
180 KBs PDF File
60d452b0807b6_227484.docx
120 KBs Word File
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started