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 |
| $12.00 | $20.00 |
| $30.00 | $45.00 |
| $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:
- You must use at least one switch block for this problem.
- For selecting a duration, it should work for both uppercase letters and lowercase letters.
- 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
Get step-by-step solutions from verified subject matter experts
