Loops and Arrays

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.P(4)

  • Among other benefits, we guarantee:
  • Essays written from scratch – 100% original,

  • Timely delivery,

  • Competitive prices and excellent quality,

  • 24/7 customer support,

  • Priority on customer’s privacy,

  • Unlimited free revisions upon request, and

  • Plagiarism free work.

Providing Quality University Papers , written from scratch,

delivered on time, at affordable rates!

Order Similar Assignment Now!

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered within 4 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.

GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: