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.
Hint: speed=distance/time
Answers
Answered by
4
Answer:
Step 1 : Start
Step 2 : Read "Distance in m" as X
Step 3 : Read "Time in s" as Y
Step 4 : Calculate S = X/Y
Step 5 : Display S + " m/s"
Step 6 : Stop
Similar questions