Write a program in C that creates a simplified railways network. The program starts byoffering the user the following list of options :1. Please enter 1 to add a new record of stations .2. Please enter 2 to add a new record of tracks.3. Please enter 3 to sort and print the tracks according to their lengths in descendingorder .4. Please enter 4 to find and print the station that has the maximum number ofconnected tracks .5. Please enter 5 to exit the program.Notes about the program:1. The information about each station is composed of the following attributes:Number and Capacity.2. The information about each track is composed of the following attributes:Number, Length, StStation, and EnStation.3. After accomplishing any of the tasks (1, 2, 3, and 4) or entering an invalid value,the program will show the list of options again.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here