subject

-Create simple cashier system using java that will first ask the customer's name. It should continue to accept a price of an item and displays the current total while the user input is not equals to zero.
-The program should ask the user if the customer is a senior citizen. If the user input is 'Y' the current total should have a discount of 20%. Otherwise, if the user input is 'N', no discount.
-The program should then display the total amount, and then prompts the user to enter cash. While cash is insufficient, it would continuously ask the user to enter cash until it is sufficient to pay the total amount.
-Then, displays the amount of change.
-Lastly, display text thanking the customer.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
question
Computers and Technology, 24.06.2019 15:40
In the above figure, what type of cylinder arrangement is shown in the figure above? a. l-type b. v-type c. in-line d. horizontal pls make sure its right if its rong im grounded for 3months
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
⭐️⭐️⭐️ what network is larger in size? man or wan? you ⭐️⭐️⭐️
Answers: 2
question
Computers and Technology, 25.06.2019 05:30
Two technicians are discussing a resistance measurement. technician a states that components being measured should be removed or isolated from the circuit. technician b states that power to the circuit should be disconnected when measuring resistance. which technician is correct?
Answers: 1
You know the right answer?
-Create simple cashier system using java that will first ask the customer's name. It should contin...
Questions
question
Mathematics, 10.07.2019 23:30
question
Mathematics, 10.07.2019 23:30
Questions on the website: 13722363