Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions Write a C# application that determines the cost of parking at a local garage. The fees are explained as followed: - If a customer
Instructions Write a C\# application that determines the cost of parking at a local garage. The fees are explained as followed: - If a customer has been parked for 3 hours or less, the fee is $2.00. - If a customer has been parked for more than 3 hours, then $0.50 is added for each additional hour. - The maximum fee $10 dollars. - Assume that no customer has been parked for more than 24 hours. This program should be able to store and compute the charges for the following customers: - Tom: 12 hours - Stacy: 5 hours - Kyle: 6 hours - Reed: 22 hours - Katie: 2 hours - Bell: 14 hours - Sam: 1 hour - Percy: 7 hours This information should be stored inside a set of arrays. The charges are then computed and stored in an additional array. The total arrays should be 3: 1 for the customer's name, 1 for the hours parked, and 1 for the computed charges per customer. Sample Output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started