Question: The program output must look like and match the two displays shown in the assignment. ATM.java Requirements: An ATM manufacturer would like a program that
ATM.java Requirements: An ATM manufacturer would like a program that allows the user to enter the amount of cash in whole dollars and then displays the number bills by denomination be dispensed if the limit of S300 is not exceeded. Design: The ATM manufacturer would like the output to look as shown below when 400 is entered as the amount for one run and 279 is entered for another run. Line number Enter the amount: 400 Limit of $300 exceeded! Line number Enter the amount: 279 Bills by denomination: $20: 13 $10: 1 $5: 1 $1: 4 $279 = (13 * $20) + (1 * $10) + (1 * $5) + (4 * $1) Your program must follow the above format with respect to the output. Note that lines 3 through 6 for the amount 279 begin with tab, which is set to three spaces inGRASP (i.e., your output should use the escape sequence for a tab)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
