plz built me the following program.its urgent. i need ur help


Write a program that, given the type of vehicle (‘c’ for car, ‘b’ for bus; ‘t’ for truck) and the hours a vehicle spent in the parking lot, determines the parking charge based on the rates shown below:

Car..........Rs. 20 per hour
Bus..........Rs. 30 per hour
Truck.......Rs. 40 per hour