Question: Create an application that will accept sales information and calculate the total commission for a sales associate. Each sale can is entered until the sentinel

Create an application that will accept sales information and calculate the total commission for a sales associate. Each sale can is entered until the sentinel value is entered indicating the last sale.

There are 5 products which can be sold:

Product 1 with price of $6.98

Product 2 with price of $7.50

Product 3 with price of $3.75

Product 4 with price of $2.59

Product 5 with price of $23.79

The application should use a sentinel controlled loop to prompt the user for each product and quantity for a sales rep

Use a switch statement to identify the correct item price

Calculate the total sales for all items for that sales rep and the commission of 5%.

The program I'm using is JGrasp and Java.

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!