Question: using java Problem 1: [15 marks] Equipment Rental (filename: Equipment Rental.java) The table below gives the price schedule for Eddie's Equipment Rental Price schedule for
Problem 1: [15 marks] Equipment Rental (filename: Equipment Rental.java) The table below gives the price schedule for Eddie's Equipment Rental Price schedule for Eddie's Equipment Rental Piece of Equipment 1. Rug cleaner 2. Lawn mower 3. Paint Sprayer Half Day $16.00 $12.00 $20.00 Full-Day $24.00 $18.00 $30.00 Full-day rentals cost one-and-a-half times half-day rentals. Design an algorithm and then write a program that first displays the price table, then asks an item number and time period (For H) from the user, and then calculates and displays the bill The bill should include a $30.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. 1 A possible sample run is shown below piece of Equipment 1. Rugelsaner 2. Lawn Mower 13. Paint sprayer Hal-Day $16:00 $12.00 $20.00 Full-Day 524.00 $18.00 $30.00 Enter an item trumbett 2 Enter the rental duration : E Receipt Ezem Eddie' quipment Rental Lawnmower Deposit $10.00 $30.00 (Full day rental) Total $48.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
