Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

I'm really struggling to understand how to do a Greedy Algorithm that replicates a vending machine on Python, can anyone assist?

OpenStudy (anonymous):

if N % 24 == 0 or N % 8 == 0 or N % 5 == 0 If you get rid of the above modulus (%) checks then your algorithm is what's known as a greedy algorithm in Python.. For Vending Machines.. can be applied.. You should also check with http://platform.axeda.com/apps/smartvend/index.html#

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!