Distance Traveled Modification
The distance a vehicle travels can be calculated as follows:
Distance 5 Speed * Time
Write a method named distance that accepts a vehicle’s speed and time as arguments, and returns the distance the vehicle has traveled. Modify the “Distance Traveled” program you wrote in Chapter 4 (Programming Challenge 2) to use the method.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.