Question
Mrs. Lopez is working as as a cashier at the local convenience store. A customer's bill is $1.09, and the customer gave Mrs. Lopez $2.00.
Mrs. Lopez is working as as a cashier at the local convenience store. A customer's bill is $1.09, and the customer gave Mrs. Lopez $2.00. She wants to give him change using the smallest possible number of coins. Use dynamic programming to determine how to give the customer his change.
Resolve the problem if a 20c piece were available. *US coins: 10, 5c, 100, 250, 50 and $1.
Solution must include definition of stage/s, alternative/s, states, recursive equations, complete rows and columns per table, optimal solution, and corresponding conclusions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started