100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 2 out of 4 pages.
K08 Computer Programming IIAssignment 4Date of Submission: 01/05/2020Parking Garage Charges Assignment:A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage chargesan additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge forany given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time.Write an app that calculates and displays the parking charges for each customer who parked in the garageyesterday. You should enter the hours parked for each customer. The app should display the charge for thecurrent customer and should calculate and display the running total of yesterday’s receipts. The app should usemethod CalculateCharges to determine the charge for each customer.Using Visual Studio, I began by creating a new project and selected console application, named the project:ParkingGarageCharges. In order to cleanly define the constants that will exist and define the conditions, Icreated a new class. I selected project from the menu bar and then chose ‘add class’.