The Dimboola Tiddlywinks Association (DTA) has been given the job of managing the draw and results for the 32 regional tiddlywink teams. Each team has a name and a home town. Each match is a competition between two teams and is held at the location of one the competing teams (that team is the home team). The result of each match is either win or lose. A season lasts 5 weeks. The winner is the team with the most wins. A match is held once every week in a season.
The DTA has asked you to write a C# console program that will allow the user to enter the results for each match and display a list of winning teams and the games they have won.
Specifications
The data for each match is:
· week number, e.g. 1
· home team name, e.g. "Silly Walks"
· away team name, e.g. "Daleks"
· win (where win is a 1 if the home team wins and 0 if the home team loses)
You are required to write a C# console program to:
· Display a menu with options to:
o Enter match details
o Save match details
o Calculate and display a list of winning teams for a given week
o Calculate and display the top 3 teams at any time in the season
o Exit the program
· Your program must use an array/s of structures to store the data in memory, i.e. your program must read the data from the file/s into memory as an array of structs and manipulate the data in the array.
· Your program must use a sequential file/s to store data
· You may assume that there are 5 weeks and 80 matches
You will also be able to download a sample data file to test your program with. Note that we may use a file with different data to test
your submission.
The marking scheme is available on line if you need to see how marks will be allocated. The program does not have to be completed to earn marks but your submission must be satisfactory and a reasonable attempt. See the general instructions in mySCU/Assignments for clarification of satisfactory and reasonable.