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
0
Explanation:
relative velocity and length of time
Similar questions
Science,
6 months ago
Biology,
6 months ago
India Languages,
6 months ago
Social Sciences,
11 months ago
India Languages,
11 months ago
Biology,
1 year ago
Math,
1 year ago
Math,
1 year ago