Write a function called parkingCharge 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, returns the parking charge based on the rates shown below.
car $2 per hour
bus $3 per hour
truck $4 per hour
Also for this problem display the message "The code for the type of vehicle is incorrect" if the code that is being entered from the keyboard is not equal to 'c' or 'b' or 't'.
**NOTE: write the complete program (including the appropriate functions).
please make sure your answer is right and run in visualstudio program.