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: | 327 Weeks Ago, 5 Days Ago |
| Questions Answered: | 12843 |
| Tutorials Posted: | 12834 |
MBA, Ph.D in Management
Harvard university
Feb-1997 - Aug-2003
Professor
Strayer University
Jan-2007 - Present
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:
-----------