Pregunta de entrevista de Infosys

Write program to calculate average speed.