+ 1

Write a program that will be used to maintain data for a soccer tournament

Your program will be used to: Enter teams into the tournament Remove teams from the tournament Record game results (what team won and what team lost a game) Given a particular team name, look up their win/loss record Upon exiting the program, a final tournament report is created. And output the team names with ascending order after the report.

3rd Jul 2018, 2:10 PM
Ebrahim Abdelefeta
Ebrahim Abdelefeta - avatar
4 Answers
+ 1
If you really want, you can pop this project into your computer. Use files to create something you can always come back to. If you use files, you can create tournaments, then come back and enter the data later. You can also view it at any time. Even if you close the program. This will prevent you entering the data, having to close the program, and then having to enter it all again.
3rd Jul 2018, 2:32 PM
Rain
Rain - avatar
+ 5
What is your question? Please show your attempts at completing the assignment.
3rd Jul 2018, 2:12 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
i want to write the above Q with linked list, but i can't.
3rd Jul 2018, 2:16 PM
Ebrahim Abdelefeta
Ebrahim Abdelefeta - avatar
+ 1
You should do it with classes. You can create a tournament class, which has variables such as the amount of games, teams participating, and wins and losses in those games. Then create a teams class, where they have their personal record and such. Use the tournament class destructor to do the final report, which will be called when the program is finished.
3rd Jul 2018, 2:19 PM
Rain
Rain - avatar