Question: Problem 8.20. Use coding to form a program that calculates the parking bill. Prompt the user to specify either a five-pointed or a six a
Prompt the user to specify either a five-pointed or a six a menu. Then create the star in a MATLAB figure wind pointed star is made of three triangles and requires a str:&. 2.0 that used to create a five-pointed star. CHALLENGE PROBLEMS 8.20 Most major airports have separate lots for long-term and short-term park- ing. 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 Which lot are you using? should then calculate the parking bill. Write a program that asks the user the following: . How many weeks, hours, days, and minutes did you park? Your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
