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, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Lakendra finished working on her monthly report. in looking it over, she saw that it had large blocks of white space. what steps could lakendra take to reduce the amount of white space?
Answers: 3
You know the right answer?
-Create simple cashier system using java that will first ask the customer's name. It should contin...
Questions
question
Biology, 11.05.2021 01:50
question
Computers and Technology, 11.05.2021 01:50
Questions on the website: 13722367