Checkpoint 23.3.1.
Write the code for the function
cabCost
. It should calculate and return the cost of a cab ride. If the distance traveled is less than or equal to 12 miles the cost is $2.00 a mile, and if the distance traveled is more than 12 miles the cost is $1.50 a mile.