Cash Register Assume that a local event coordinator asks you to write a Java application (CashRegister.java) to
Question:
Cash Register
Assume that a local event coordinator asks you to write a Java application (CashRegister.java) to accept an event reservation with a payment option as cash only. This application must allow a clerk to enter the required information and display output for the reservation details. It must also enable the clerk to enter an amount of cash received and display a change amount.
Required Information
a. Customer's name, which includes both first name and last name
b. Date of reservation
c. Number of tickets purchased
d. Cash Received (After balance due is shown) The cost per one ticket is $25.50. The total price of the ticket purchased must include a sales tax of 7%. After a clerk enters all information, the program will calculate a balance due for the customer. Then it must allow the clerk to enter an amount of cash received from the customer, which will calculate the change amount returned to the customer.
Sample Runs Note:
Your application must prompt the inputs and display the outputs precisely, as shown below in the sample runs.