there are two parts to this assignment the first


There are two parts to this assignment. The first part has you reading 4 integers representing; #QUARTERS, #DIMES, #NICKELS & #PENNIES, respectively.
Your program should compute the amount of money (in cents) represented by the input coin combination. You will output this amount with an appropriate label. As you are reading the input data, keep track of the total number of coins, and print the total with an appropriate label.
In the second part of the assignment you are to determine how to produce the equivalent change, using the fewest number of coins, where coins available are: quarters, dimes, nickels or pennies. Print out, with an appropriate label the number of each coin used. A sample program execution is displayed below, where input data is in italics, and program output in bold face print.

3
12
15
26
The input change amounts to 296 cents, using 56 coins.
The same change could be made with:
Quarters = 11
Dimes = 2
Nickels = 0
Pennies = 1
Total Coins = 14

HINT:
Use the INDEC procedure to read in the numbers.
Use the OUTDEC procedure to write out the numbers.

Request for Solution File

Ask an Expert for Answer!!
Assembly Language: there are two parts to this assignment the first
Reference No:- TGS0263906

Expected delivery within 24 Hours