Info

此问题已关闭。 请重新打开它进行编辑或回答。

Design an algorithm and write the program for a machine that must give the current amount of change from $500 for any amount of change costing less than $500.The program must specify the number and all notes and coins as possible.

1 次查看(过去 30 天)
design an algorithm and write the program for a machine that must give the current amount of change from $500 for any amount of change costing less than rs 500.The program must specify the number and all notes and coins as possible.Assume purchase=210$ and coins available are rs5,rs1,rs0.5,rs20 and notes available=rs 25 ,rs50, rs100 and rs200 and display should be as follow:
  2 个评论
John D'Errico
John D'Errico 2016-3-16
Very good. You managed to type in your assignment. Now all you need to do is start writing. Think about how you would solve the problem yourself. Surely this is not a difficult problem to do in real money, as people do it quickly and simply every day.
Write a flow chart if necessary. This is always a good thing anyway.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by