Question: need MATLab Code for the time in each lot. I can figure out the rest Problem Most major airports have separate lots for long-term and

 need MATLab Code for the time in each lot. I can

need MATLab Code for the time in each lot. I can figure out the rest

Problem Most major airports have separate lots for long-term and short-term parking. The cost to park depends on the lot you select, and how long you stay. Consider this rate structure from the Salt Lake International Airport during the summer of 2016. Long-Term (Economy) Parking o The first hour is $2.00, and each additional hour or fraction thereof is $1.00 o Daily maximum $9.00 o Weekly maximum $60.00 .Short-Term Parking o The first 30 minutes are $2.00 and each additional 20 minutes or fraction thereof is $1.00 o Daily maximum $32.00 Write a program that asks the user the following: Which lot are you using? How many weeks, hours, days, and minutes did you park? Your program should then calculate the parking bill Problem Most major airports have separate lots for long-term and short-term parking. The cost to park depends on the lot you select, and how long you stay. Consider this rate structure from the Salt Lake International Airport during the summer of 2016. Long-Term (Economy) Parking o The first hour is $2.00, and each additional hour or fraction thereof is $1.00 o Daily maximum $9.00 o Weekly maximum $60.00 .Short-Term Parking o The first 30 minutes are $2.00 and each additional 20 minutes or fraction thereof is $1.00 o Daily maximum $32.00 Write a program that asks the user the following: Which lot are you using? How many weeks, hours, days, and minutes did you park? Your program should then calculate the parking bill

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!