*Swamped with your writing assignments? Take the weight off your shoulder!*

Submit your assignment instructions

Problem 1. Write a function to calculate the cost of a trip to a theme park, which includes the cost of the hotel, car rental, and park tickets.

a. Define a function to calculate the cost of the hotel. The function should allow the user to choose one of the room types below and enter the length of their stay. The function then calculates the cost accordingly.

Standard room: 150$ per night

Deluxe room: 180$ per night

Suite: 220$ per night.

b. Define another function to calculate the cost of renting a car. Rental cars charge100$ up to 24 hours and 60$ added for each additional day.

c. Define a third function to calculate the cost of parking at the theme park. The cost of parking is 175$ for the first day and 50$ for each additional day.d. Your final function should calculate the total cost of the theme park trip by calling the three functions above and summing their results.