Write a java application that prompts the user for pairs

Write a java application that prompts the user for pairs

Computer Engineering
General Summary:

For assignment, write a Java application that prompts the user for pairs of inputs of a product number (1-5), and then an integer quantity of units sold (these are two separate prompts for input values).

Assignment Description:

Write a Java program to process the 15 items below for a single order. There are five sets of inputs as follows:

Product 1 1 unit (cost is $2.98 per unit)

Product 2 2 units (cost is $4.50 per unit)

Product 3 3 units (cost is $9.98 per unit)

Product 4 4 units (cost is $4.49 per unit)

Product 5 5 units (cost is $6.87 per unit)

You must use a switch statement and a sentinel-controlled loop (i.e., a loop that stops execution when an out of range value, such as -1, is input).

You must show all user inputs, including the product numbers, quantities, and sentinel value. You must also show all program outputs.

Your application must calculate and display the cumulative total order amount after each of the five pairs of input values is entered.

You must also show the total order amount after the sentinel value is entered.

Only showing a subset of all the required inputs and outputs will result in lost points.

Deliverable:

Put everything in a single Word or PDF file, number your steps, and keep the steps in order.

At the top of your Word or PDF file include the course, the program number, your name, and the date completed.

Also include this information in the source code program header of your source code files. Include additional comments as necessary in

your source code, and maintain consistent indentation for good programming style, as shown and discussed in our text.

Include the following three items in your file, number them, and put them in this order:

A screen snapshot of a portion of your Java source code in your IDE for each class of your program

The complete source code listings for all of your Java classes

Screen snapshots of your complete program output

Order from us and get better grades. We are the service you have been looking for.