Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use visual studio 2015 C++ #include also use the given user defined functions Problem 4 (20 points): Write a program for an automatic telle machine
Use visual studio 2015 C++
#include
also use the given user defined functions
Problem 4 (20 points): Write a program for an automatic telle machine (ATM) that dispenses money. The user should enter the desired withdrawal amount (a tiple of 10 dollars) and the machine dispenses this amount in the least uber of bills. The bills dispensed by the ATM are 50s, 20s, and 0. Write a function named bills that takes as argument the withdrawal amount and prints the typesbls dispensed. Your program should be checking if the user bas entered an amount that is multiple of lo. Sample Code Execution: Red text indicates information entered by the user Enter the withdraal amount (must be multiple of $10):325 The amount you entered is not a multiple of $10 Enter the vithdraal amount in $:380 Your dispensed bills are: $50: 7 $20: 1 $10: 1 Enter the withdraal amount (must be multiple of $10):160 Your dispensed bills are: $50: 3 $10: 1 Lab Assignment (30 points) Submit yourc files named hw5.pl.c, hw5.p2.c, hw5.p3.c, and hw5.pi.c on Zy Books and via D2L dropboxStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started