PLEASE HELP

Write a function to describe the following scenario.
A taxi driver charges a $5 flat fee to
enter the car and $0.50 per mile.
What is the total cost of a taxi ride?

Relax

Respuesta :

Answer:

Total Fee = $5 + ($0.50/mile)*(x miles)

Step-by-step explanation:

Let x be the miles driven.  The total cast for the mileage alone would be:

($0.50/mile)*(x miles) =  mileage fee

Total Fee = $5 + ($0.50/mile)*(x miles)