Details of this Paper

Unit 3 Individual Project for Object

Description

solution


Question

Its the Unit 3 Individual Project for Object-Oriented Applications Class (ITCO620);Your consulting firm has been hired to develop a program that meets the following requirements.;Your program must provide a menu to the user. This menu should list five different products of your choice. Once the user selects one product, they should specify which state they are located. The state choices should include CT, VT, WI, CA and WA. State taxes vary for each state (7.5%, 7.8%, 6.8%, 7.2% and 6.4%, respectively). The user should then specify the desired number of cases (assume there are 12 items per case). The appropriate state tax should be added to the total cost of the product (Item quantity multiplied by unit price). Next, using the Math class random method, generate 20 numbers ranging between 1-100. Ensure there are no duplicates.;Display the following to the user.;Name of the product selected;Number of cases;Number of items;Subtotal (units * price per unit);State tax (with the percentage and state abbreviation in parentheses);Total cost (subtotal plus state tax);The table of random numbers displayed in a table of five numbers per row;This is what he explained to me;I was able to do the first 3 points but when going for Subtotals and state Tax I having the most trouble in. I know how to do the math calculations in Java but retrieving the values from Inside the selected Switch operator to use to calculate the Subtotal and total cost, because I used a switch operator for all 3. All 3 selections are on different instances as well.

 

Paper#69302 | Written in 18-Jul-2015

Price : $27
SiteLock