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, 21.06.2019 20:30
Write a program that reads the file, then displays the average number of steps taken for each month. (the data is from a year that was not a leap year, so february has 28 days.) your program needs to use at least 3 functions not counting main and display the information in a neat well formatted fashion.
Answers: 3
question
Computers and Technology, 22.06.2019 08:00
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
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
Questions on the website: 13722361