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 ifthe program can’t find the data file.
– Handle the exceptions that occur ifthe user enters a string where an integer is expected.
– Handle the exception that occurs ifthe user enters zero for the number of at bats.
– Thoroughly testthe program and update it so it handles all exceptions that youencounter during testing.
Console
================================================================
Baseball TeamManager
MENU OPTIONS
1 – Displaylineup
2 – Add player
3
OR
OR