Professional Documents
Culture Documents
Parking
Parking
// Parking.swift
//
//
// Created by Gerardo Quintanar Morales on 24/02/24.
//
import Foundation
/*
[11:21] Aravind A (CW)
When a customer wants to leave, they will give that ticket to the automated ticket
taker at the exit. They will then be presented with their total based on the amount
of time they were parked.
Provide a way to calculate the total given the following requirements: 1) The
first hour is free 2) Every hour after that is 1.50
*/
minutesFromDate
}