Rocky Mountain Marketing (RMM) is a direct seller of Rocky Mountain wildlife and nature curios. Customers can contact RMM through telephone and can place orders for curios. RMM sells wildlife curios and nature curios. The cost of a wildlife curio is $20.00 and the cost of a nature curio is $15.00. To place an order, the customer must be at least 18 years of age.

The tax levied on the order cost will be 6% for customers residing in California and New York; for customers in all other states it is 4%.

The flat-rate shipping cost for an order is $50.00 for customers residing in Alaska and $60 for customers residing in Hawaii; for all other states it is $30.00.

RMM wants you to develop an order management program using Java and the Eclipse IDE that will compute the total cost of an order. The input / output specifications are:

Input

  • Full name of customer
  • Mailing Address of customer [the mailing address should include the ZIP code and the two-character state code]
  • E-mail address of customer
  • Year of Birth of customer
  • Number of wildlife curios required
  • Number of nature curios required

Output

  • Order cost (i.e. Cost of the curios ordered)
  • Tax
  • Shipping cost
  • Total cost (i.e. Order cost + Tax + Shipping cost)
[For example, if a customer residing in California places an order for 5 wildlife curios, Order cost = $100.00; Tax = 6% of $100.00; Shipping cost = $30.00]
Note: The two-character state code for California is “CA”; for New York is “NY”; for Alaska is “AK”; and for Hawaii is “HI”
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.