SOLVED:automatic teller machine that dispenses money

15.00 $

Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . txt solution files instantly, after Payment


4.5/5 - (2 votes)

Write a program for an automatic teller machine that dispenses money.

The user should enter the amount desired (a multiple of 10 dollars) and the machine dispenses this amount using the least number of bills. The bills dispensed are 50s, 20s and 10s.

Write a separate function of type void that accepts the amount to dispense and returns the number of bills for each denomination.

  • ATM.txt