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). Your application must calculate and display the total retail value of all products sold after all five pairs of inputs are completed. You must also display the line total and cumulative order total after each new pair of input values (i.e. a product number and its quantity) is entered. You must also show the input of the sentinel value and the resulting display of the total order amount.
Get Free Quote!
330 Experts Online