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
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!