Computer Science, asked by Poojavigni, 10 months ago

Write a program to define a array parking and read the vehcie registration number, hrs parked for each customer and calculate the parking charges for ‘n’ customers and display the receipt

Answers

Answered by Anonymous
0

Answer:

This is the program

A parking garage charges $2 for minimum fee to park up to 3 hours and then a $.50 per hour charge after the 3rd hour. The maximum charge for any 24 hour parking is $10. Assume no car parks longer than 24 hrs, write a program that calculates and prints the parking charge for each of 3 customer. Result should be printed in tabular format. Hint: use function called calculateCHarge to determine charge for each customer

Explanation:

Similar questions