Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Project 3 Parking Deck Ticketing System Objectives: l. Use if, switch, and loop

ID: 3831584 • Letter: P

Question

Project 3 Parking Deck Ticketing System Objectives: l. Use if, switch, and loop statements to solve a problem 2. Use input and output statements to model a real world application 3. Incorporate functions to divide the program into smaller segments Instructions: Your task is to write a program that simulates a parking meter within the parking deck. The program will start by reading in the time a car arrives in the parking deck. It will then ask you what time the car left the parking deck. You should then calculate the time that has passed between issuing the time ticket and the time the car left. Lastly, you will use this information to determine how much the person needs to pay upon leaving the deck. The rates are in the table below. Please read through all of the notes below! You should write a single function for each of the following things: Reading in the arrival times and departure times Calculate the passage of time Determine how much the player needs to pay Print out the receipt for the user. Including their arrival and departure times, time in the deck and how much they owe.

Explanation / Answer

Solution:

I hope this helps. Don't forget to give a thumbs up if you like this.