Write a menu driven Java program to calculate relative velocities & time taken to cross each other.
Channel: Rahul Raskar Academy
Date: 2023-05-08

The relative velocity of two trains travelling in opposite directions is calculated
by adding their velocities. In case, the trains are travelling in the same
direction, the relative velocity is the difference between their 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.Whats App https://chat.whatsapp.com/CLDwXaF5p96...
Facebook 
https://www.facebook.com/profile.php?...
Instagram
https://www.instagram.com/rahul.raskar1/
Youtube Channel
https://www.youtube.com/c/RahulRaskar...
Online Study Material
https://raskaracademy.gnomio.com/