Question: Create a new BlueJ project and a new class name Register. Write a program that allows the user to enter the quantity of pennies, nickels,
Create a new BlueJ project and a new class name Register. Write a program that allows the user to enter the quantity of pennies, nickels, dimes, quarters, $1 bills, $5 bills, $10 bills, and $20 in a cash register. The program should then compute and display how much money is in coins, how much money is in bills, and the total amount of money. The money amounts should be reported in $dollars.cents format (see below). Here's an example of what your program might look like when you run it. The underlined portions indicate what you type in as the program is running. Cash Register Buddy v1.0 Enter the quantity of: Pennies 57 Nickels 12 Dimes 83 Quarters: 68 $1 Bills: 45 $5 Bills: 30 $10 Bills: 52 $20 Bills: 17
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
