write a c# program A parking garage charges a $3.50 minimum fee to park for up to three hours. The garage charges an additional $0.75 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $15.00. The parking time can be longer than 24 hours at a time up to but not including 48 hours. Any parking time after the first 24 hours will be subject to the same charge policy mentioned above. Write a C# app that calculates and displays the total parking charges for a customer who parked in the garage. You should enter the hours parked for a customer. The app should display the charge for the current customer. To solve it, use if else structure to check for the parking time periods (up to 3 hours, additional hours up to 24 hours, greater than 24 hours). Your entire code goes inside the main method.
write a c# program
A parking garage charges a $3.50 minimum fee to park for up to three hours. The garage charges an additional $0.75 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $15.00. The parking time can be longer than 24 hours at a time up to but not including 48 hours. Any parking time after the first 24 hours will be subject to the same charge policy mentioned above.
Write a C# app that calculates and displays the total parking charges for a customer who parked in the garage. You should enter the hours parked for a customer. The app should display the charge for the current customer. To solve it, use if else structure to check for the parking time periods (up to 3 hours, additional hours up to 24 hours, greater than 24 hours). Your entire code goes inside the main method.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps