subject

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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:10
Linux is distributed under gnu gpl. why is this important? a. it ensures that only torvalds can profit from the sale of linux b. it prevents unknowledgeable users from downloading programs they don't know how to operate. c. it provides protection for the developers who created linux. d. it states that anyone can copy, modify, and share the program if changes are made public.
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
You know the right answer?
C++ ATM PROGRAM DESIGN Ask the user to enter the desired withdrawal amount in multiple of 10 dolla...
Questions
question
English, 27.01.2020 20:31
question
History, 27.01.2020 20:31
question
Mathematics, 27.01.2020 20:31
Questions on the website: 13722362