Write a program that stores the data for each playeron the team, and it also lets the manager set a starting lineup foreach game.
Questions:
– Handle the exception that occurs if the program can’t find thedata file.
– Handle the exceptions that occur if the user enters a stringwhere an integer is expected.
– Handle the exception that occurs if the user enters zero forthe number of at bats.
– Thoroughly test the program and update it so it handles allexceptions that you encounter during testing.
Console
================================================================
Baseball Team Manager
MENU OPTIONS
1 – Display lineup
2 – Add player
3 – Remove player
4 – Move player
5 – Edit player
OR
OR