Computer Science, asked by dikshadubey9056, 11 months ago

tony crosses a street that is ???x??? m long in 'y' minutes. write an algorithm to compute his speed in km per hour given x and y.

Answers

Answered by VedaantArya
3

Since x is distance in m, x/1000 is distance in km.

Since y is time in minutes, y/60 is time in hours.

Speed in km/hr = (x/1000) / (y/60) = 60x/1000y = 3x/50y.

Similar questions