A local company, Gulf Side Rental, has asked you to help them create a program to calculate a customer’s bill.

Display Rental Rates Event:

Before a bill can be calculated, the current rental rates must be displayed for the customer to review. The rental rates will vary depending on the season and rental duration (half or full day). Your program should have an event that displays the appropriate rental rates depending on which month the user selects from a listbox (or combo box). Rates are shown below:

Season Months in that Season Duration Canoe Kayak Paddle Board Surf Board
Off Season Nov, Dec, Jan, Feb Half Day $20.00 $16.00 $14.00 $12.00
Off Season Nov, Dec, Jan, Feb Full Day $32.00 $28.00 $26.00 $24.00
Near Season Sept, Oct, Mar, Apr, May Half Day $22.00 $18.00 $16.00 $14.00
Near Season Sept, Oct, Mar, Apr, May Full Day $34.00 $30.00 $28.00 $26.00
Peak Season Jun, Jul, Aug Half Day $24.00 $20.00 $18.00 $16.00
Peak Season Jun, Jul, Aug Full Day $36.00 $32.00 $30.00 $28.00

Display Customer Bill Event:

Once the customer has reviewed the rates, they may select which item(s) they would like to rent from a group of checkboxes. They should also select the duration period (half or full day). All rentals must be for the same duration period.

Along with the rental fees, the customer must pay a deposit. The amount of the deposit will differ depending on the number of items they are renting. The deposit amount of one item will be $20; for two - $30; for three - $40; for four - $50.

Once the bill has been displayed, the listbox showing the rental rates should be cleared to avoid confusion for the next customer.

Exit Event:

Your program should include an Exit button.

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.