Pergunta de entrevista da empresa Infosys

Write program to calculate average speed.