Write a program for an automatic teller machine that dispenses money. The user should enter the amount desired (a multiple of ten dollars) and the machine dispenses this amount using the least number of bills. The bills dispensed are 50s, 20s, and 10s. Write a function that determines how many of each kind of bill to dispense.© BrainMass Inc. brainmass.com July 20, 2018, 11:47 pm ad1c9bdddf
The attached program calculates the change that would be given by an automatic teller machine. The program is in C, and compiled and tested using Miracle C compiler.