Question: Can you indicate what will go in the command window and what will go in the script window. Thanks Now, it's your turn. Write a
Now, it's your turn. Write a function that computes parking fees for a garage with the fee structure given below. Your function should be named parking fee, take a single input argument (hours parked in garage), and return a single output argument (total fee for parking. PARKING FEES PARKING RATES 0-2 Hours $4.00 $3.00 2-4 Hours Each Additional Hour $1.00 Maximum Daily Charge $24.00 Lost Ticket Charge $36.00 PAY AT FRONT DESK PRIOR TO DEPARTURE A lost ticket is signified using a negative value for hours. Partial hours are charged as full hours, e.g. 5 hours and 30 minutes is charged as 6 hours. Thus, the output should always be an integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
