a parking garage charges a 200 minimum fee to


A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Write a visual basics program that calculates and displays the parking charges for each customer who parked a car in this garage yesterday. You should enter in a TextBox the hours parked for each customer. The program should display the charge for the current customer. The program should use the method CalculateCharges to determine the charge for each customer. Use the techniques to read the Bouble value from a TextBox. [Note: ou may need to use methods Convert.ToDouble and Convert.ToDecimal when doing calculations with the number of hours and charges, respectively. 

Solution Preview :

Prepared by a verified Expert
DOT NET Programming: a parking garage charges a 200 minimum fee to
Reference No:- TGS0481175

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)