How to compute the amount of the fare given the specific distance in kilometers?

1 answer

fare = rate * distance
watch the units
$/km * km = $