Question: Write program (code) for the following scenario: Create a class named SelfService. The program should allow you to enter number of items you have purchased.
Write program (code) for the following scenario:
Create a class named SelfService. The program should allow you to enter number of items you have purchased. You will assume that each item is the same price. Your program should allow you to enter the amount of one of the items, and when you enter the cost of one of the items, your program would automatically calculate the total amount you have to pay and display the total amount. Also, the program will display, Please take your items, place total amount in an envelope and slide it under the office door. Thank you for using the self-service line.
provide all information. Do by using eclipse-workspace.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
