Copyright  © – Sudharsan Iyengar and Winona State University

 

Pascal Program:          CS-415            Spring 2025                Due: 3/30/25

 

Write a Pascal program to manage a TeamDbase. Your application should be able to manage multiple teams – a max of 3 teams. Each team has a team name, team budget, win-loss record for the current season, and a roster of players (3 players) information. Player information contains name, age, jersey number, and points scored, and address. Adress should include city, and zip code.

 

Your program should open a file called TeamInfo.txt, which contains the current information about all the existing teams. The format of the TeamInfo.dat file is

           

            Team name     Creation date  Budget            win-loss record

            Player name    Name  age      jersey#            Points Scored 

city      zip

            ….

           

           

            Team name     Creation date  Budget            win-loss record

            Player name    Name  age      jersey#            Points Scored 

city      zip

            ….

           

            ….

           

            Team name     Creation date  Budget            win-loss record

            Player name    Name  age      jersey#            Points Scored 

city      zip

            ….

           

            ….

           

 

 

Your menu driven (not a GUI) application program should provide the following features.

 

            Change team budget               Change team win-loss record

Browse a list of team names   Browse a list of players from a team 

View a Player Information     Update a Player Score

Update File                             Exit

 

Save your program file to your class folder.