1CSCI 1015 PASS 5Save your program as your last name and PASS5 example: JacksonPASS5. Your class name should be the same as your java file nameA mail-order house sells five products whose retail prices are as follows:Product 1:$100.00Product 2:$200.00Product 3:$300.00Product 4:$400.00Product 5:$1000.00Write a program that reads in pairs of numbers as follows:Product number Quantity SoldYour program should incorporate the if-else-if statement or switch statement to determine the retail price for each product. It should calculate and display the total retail value of all products sold. Use a sentinel controlled loop to determine when the program should stop looping and display the final results. Create a bar chart to display the products sold as a row of asterisks. Each asterisk represent $100 of sales.For example user input: Product Number: 1 Quantity Sold: 2 Product 1 Total: $200.00 Product Number: 2 Quantity Sold: 3 Product 2 Total: $600.00Product 1$200.00Product 2$600.00Product 4$ 1200.00Product 5..etc.Products Sold Bar ChartProduct 1: **Product 2: ******Product 3: ************Refer to the rubric provided with the syllabus for point allocation and distributions. Due September 28, 2016 .
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.