- A banking program requires a breakdown of banknotes of various denominations to be entered during transferring of funds from one teller to another. A sample of the input screen is shown below after a teller has entered the quantity of each denomination: Denomination (RM) Quantity
100 26 50 87 20 96 10 0 5 33 1 145 The program should then display the value of each denomination and the total as shown in the sample output below.
Denomination(RM) Quantity Value (RM) value 100 26 2600 5O 87 4350 20 96 1920 10 0 0 5 33 165 1 145 145 Total RM 9180
Aucun commentaire:
Enregistrer un commentaire