Question: Program in java The table below gives the price schedule for Robberts ski equipment Rental. Price schedule for Robberts Ski equipment Rental. Piece of Equipment

Program in java

The table below gives the price schedule for Robberts ski equipment Rental.

Price schedule for Robberts Ski equipment Rental.

Piece of Equipment

Half-Day

Full-Day

  1. Ski Boots

$12.00

$20.00

  1. Skies

$30.00

$45.00

  1. Snowboard

$35.00

$50.00

Please write a program that the first thing it does is to display the price table, then asks an item number and time period (F or H) from the user, and then calculates and displays the note check. The note check should include a $55.00 deposit.

Notes:

  1. You must use at least one switch block for this problem.
  2. For selecting a duration, it should work for both uppercase letters and lowercase letters.
  3. Use constants wherever appropriate.

Here's a sample

Piece of Equipment Half-Day Full-Day

1. Helmet $12.00 $20.00

2. Skies $30.00 $45.00

3. Snowboard $35.00 $50.00

Enter an item number: 2

Enter the rental duration(F or H): f

Receipt from Robbert's Ski equipment Rental

Skies $45.00 (Full day rental)

Deposit $55.00

Total $100.00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!