Computer Science, asked by flytojazz, 7 months ago

Implement a simple football league system that will record and display the league according to the following specification: Each Team will have the following attributes:  Name  Games played  Games won  Games lost  Games drawn (this should be a calculated value)  Points (calculate using 3 points for a win and 1 for a draw) Your program must include the following functionality:  The ability to enter a team’s results from the keyboard.  All records entered must be written to a text file.  The system must allow new records to be added to the end of the file.  An option to read the file and display the information on the screen should be given.  Your program should run all the above functions without shutting down.  You can include any additional functionality that you consider would make the program more useful or user friendly.

Answers

Answered by sugeshdev033
5

Answer:

Each Team will have the following attributes:

• Name

• Games played

• Games won

• Games lost

• Games drawn (this should be a calculated value)

• Points (calculate using 3 points for a win and 1 for a draw)

Your program must include the following functionality:

• The ability to enter a team’s results from the keyboard.

• All records entered must be written to a text file.

• The system must allow new records to be added to the end of the file.

• An option to read the file and display the information on the screen should be given.

• Your program should run all the above functions without shutting down.

• You can include any additional functionality that you consider would make the program more useful or user friendly.

1

Similar questions