Difference: CSC121S2021Lab11 ( vs. 1)

Revision 12021-08-27 - cathybareiss

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CSC121S2021Syllabus"

Lab 11 for CSC 121

Overview

Take your team and member classes and create a program that tracks the competition between a number of different teams (of the same type). For example, it would handle a soccer tournament or a number of different development teams trying to win a contract

Details

  • You need to have at least 4 teams.
  • Each competition involves 2 teams and a score for each team.
  • Each team in a competition has a score. The higher score wins.
  • Each team will keep track of how many competitions it is involved in and how many it wins

Sample data

There is to be no input into this program. You are to create your own driver. You need to create enough teams (at least 4) for your "league" and then have at least 3 competitions for each team. For each competition, report who competed, the score, and who won. At the end of the program, report who won the most and who lost the most.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback