Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

C++

ATM PROGRAM DESIGN Ask the user to enter the desired withdrawal amount in multiple of 10 dollars. The algorithm should determine the least number of bills dispensed. The bills dispensed are 50s, 20s, and 10s. For example, if the withdrawal amount is 110 dollars, your program would say that the machine will dispense 2 fifties, 0 twenties, and 1 ten.  Display the number dispensed for each bill type after the user enters a dollar amount (only if a valid dollar amount is entered).  The program should include a welcome message that gives a brief description of what the program does.  Create named constants in ALL CAPS for each of the dollar amounts of 10, 20 and 50.  Display an error message if the dollar amount is not greater than zero or if the amount is not a multiple of ten.  Hint: You will need to use the modulus (%) operator for some of the calculations.


Sagot :

Answer:

Um im i supposed to read all of that im hell no anyways bye bestie have fun