The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Write a program that simulates a championship (soccer, handball, hockey, etc) in C++
Â
CSCI804UOWCSCI804 Assignment 2Due:bySeptember 14,15:00.Resubmission is open:tillSeptember 22,15:00Marks:15 marksObjective:Get practical experience in using- C++ classes, constructors, destructors, operators- relationship between classes- UML diagramsGeneral Requirements•Follow the principles of OO programming when you design your classes•Put your name, student number at the beginning of each file submitted/*------------------------------------------------------Student's Name:Student's email address:Laboratory group (group code and time):Purpose of this assignment:-------------------------------------------------------*/•Add comments to the source code to make your solution easier to followAssignment requirements:Write a program that simulates a championship (soccer, handball, hockey, etc).BACKGROUNDThe structure of the simulation is such that a given number of teams play in a league on a double round-robinbasis, in which every team plays with all others in the league once at home and once away. It means that if therearenteams in a league, there would ben*(n– 1) games played.Teams receive thwo points for a win and one point for a draw. No points are awarded for a loss.Teams are ranked according to the following criteria:1.By the total points first;2. For teams with an equal number of points, by goal difference (i.e. the number ofgoals scored for minus the number of goals scored against);3. If the goal difference is also the same, by goals scored for.4. If still equal, the teams will occupy the same position.CODING REQUIREMENTS•Your program shall be well structured and designed using the concept ofobject orientedprogramming:- follow thefundamental principles of the OOM when you define a class- Your program shall be subdivided into three filesclasses.hclasses.cppanda2main.cpp
Attachments:
-----------