Java source code, class files, Word program plan including class diagrams and pseudocode
OBJECTIVES
There are two options for this assignment: Paper (Option 1) and Application (Option 2). You only need to select and submit one of the two options. They are both worth the maximum 125 points for this Unit’s Individual Project and they have separate grading rubrics. You do not need to declare which option you select prior to working on the assignment. Contact your instructor with any questions.
OPTION 1 – Paper
Click here to download this Unit’s paper option assignment details.
OPTION 2 – Application
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 three 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).Â
Display the following to the user.
- Name of the product selectedÂ
- Number of casesÂ
- Number of itemsÂ
- Subtotal (units x price per unit)Â
- State tax (with the percentage and state abbreviation in parentheses)Â
- Total cost (subtotal plus state tax)Â
a) Your program needs to include at least one repetition statement, one selection statement, Scanner class, and at least one array in this code.Â
b) Appropriate calculations are necessary.Â
c) Print out to the user the above bulleted items.Â
Your assignment submittal should include your Java source code, class files, program design document including class diagrams and pseudocode.