Question: 3. Code your main program to display the list of teams. Then run the tournament. For each round pit every other team against one another.

 3. Code your main program to display the list of teams.

3. Code your main program to display the list of teams. Then run the tournament. For each round pit every other team against one another. a. First round: 4 games reduces teams to 4 remaining. b. Second round: 2 games reduces teams to final 2 c. Final round: 1 game determines the tournament winner. Each time show the list of remaining teams and use your method to run the games for that round. (Hint: just use even/odd indices for the pairings: Team index 0 plays team index 1, team index 2 plays team index 3, etc.) d. NOTE: use the printf output method, tabs \\t, and divider lines to reasonably style your program's output similar to the example below. Some of this code is in the method and some will be in the main program that calls it. Round #1 Dwarves vs Wizards Qtr 1: 2 4 Qtr 2: 3 1 Qtr 3: 0 2 Qtr 4: 2 2 Wizards Win 9 to 7 Dwarves eliminated etc. rest of round #1 games follow 4. Provide screen snips or copy your program output here in this document

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!