The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
trying to come up with this program for a intro to java course
Â
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 readsinpairs of numbers as follows:Product numberQuantity SoldYour program should incorporate the if-else-if statement or switch statement to determine theretail price for each product. It should calculate and display the total retail value of all productssold. Use a sentinel controlled loop to determine when the program should stop looping anddisplay 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: ProductNumber: 1 Quantity Sold: 2Product 1 Total:$200.00Product Number: 2Quantity Sold: 3Product 2 Total: $600.00Product 1$200.00Product 2$600.00Product 4$ 1200.00Product 5…..etc….Product’s Sold Bar ChartProduct 1: **Product 2: ******Product 3: ************Refer to the rubricprovided with thesyllabus for pointallocation anddistributions.Due September 28, 2016 .
Attachments: