You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
🎯 Objective
In this lab, you will create a class called Sport. The class will have the following attributes:
\uD83D\uDDD2 Requirements
Requirement | Notes |
---|
Attributes | Name (Team Name) Number of Players Season wins Season Losses
|
Class Constructors | Default Constructor Constructor that takes the above attributes as arguments
|
Getters | Name (Team Name) Number of Players Season wins Season Losses Win / Loss Percentage
|
Setters | Name (Team Name) Number of Players Season wins Season Losses
|
PrintInformation method | The method will output: Name Number of Players Number of Wins Number of Losses Win/Loss Percentage
|
🚚 Deliverable
Upload the following:
Full source code (.cpp file or .txt file)
Screenshot of the Console with the code executing