Write a function called parkingCharge that, given the type of vehilce (c = car, b = bus, t = truck) and the hours a vehicle spent in the parking lot, retruns the parking charge based on the rates shown below:
car $2 per hour
bus $3 per hour
truck $4 per hour
using a switch statement.