Share your repls and programming experiences

← Back to all posts
distance traveled
thorariise

Implement the method named getDistance with the following header:

public static double getDistance(double speed, double time)

Given speed and time should return the distance traveled(assume distance=speed*time

Voters
thorariise