Question: Java code .. . Programming Activity Descriptionz The sales staff at ALiNe Department Store uses an app, which helps them calculate the discount amounts for

Java code ..
Java code .. . Programming Activity Descriptionz The sales staff at ALiNe
.

Programming Activity Descriptionz The sales staff at ALiNe Department Store uses an app, which helps them calculate the discount amounts for the items on sale. The sale prices for each item is rounded up (See sample output for inputs). The discount is set to be 108 on marked items. The discount amount will be shown to the staff and will be relayed to the customer if needed. The app can be used any number of times by the sales staff until a 1 is entered. When - 1 is entered the app will display the number of times the app was used by the sales staff. Write a program to get the user/sales staff to input the rounded sales peice for an item. Calculate and display the discounted amount along with the number of items that the sales staff checked out over the day. You can name your program DiscountcheckApp.java See sample output below. Sample Output 1 Enter the sales peice (or 1 to end) $:2500 The discount amodnt is $250. Enter the sales price (or - 1 to end) $4000 The discount amount is $400. Enter the sales price (or 1 to end) $.600 The discount amount is 560 . Enter the sales price (or 1 to end) 5:1 You have checked the discount ameunt for 3 items. Sample Output 2 >> Enter the sales price (or 1 to end) 5:125 The discount amount is $12.5. >> Enter the sales price (or 1 to end) $:35.4 The discount amount is 535.4. >s Enter the sales price (or 1 to end) 5:1 You have checked the discount amount for 2 items. Sample Output 3 Enter the sales price (or 1 to end) S:-1 You have checked the discount amount for 0 items

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!