Vending Machine
807588Mar 20 2009 — edited Mar 27 2009Hello guys!
This is the first programming course that i'm taking.It seems hard but it is powerfull. I have hard time designing a program for this assignment:
Write an algorithm that accepts from the keyboard the item price (Price) of the purchase
(assumed be less than 20$) and produces as output the number of coins to return as
remaining change (Change) (The available coins are: 10$, 5$, 1$, 50C, 20C, 10C,
5C).
It looks like that this assignment is missing something.Isn't it?