The relative velocity of two trains travelling in opposite directions is calculated by adding their velocities. In case, trains are travelling in the same direction, the relative velocity is the difference between there are velocities. Write a program to input the velocities and length of the trains. Write a menu driven program to calculate the relative velocities and the time taken to cross each other by indicating 1 for same direction and 2 for opposite direction.
Answers
Answered by
4
Answer:
I am uploading the picture please check it out
Attachments:
gaurav7397:
clearly nahi hai sir
Similar questions
Math,
6 months ago
Math,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago
Biology,
1 year ago
Math,
1 year ago