2021-03-27 15:33:25 -04:00

31 lines
676 B
C++

#ifndef TEAMH
#define TEAMH
#include <string>
class Team {
// TODO: Declare private data members - teamName, teamWins, teamLosses
private:
std::string teamName;
int teamWins;
int teamLosses;
public:
// TODO: Declare mutator functions -
// SetTeamName(), SetTeamWins(), SetTeamLosses()
void SetTeamName(std::string name);
void SetTeamWins(int wins);
void SetTeamLosses(int losses);
// TODO: Declare accessor functions -
// GetTeamName(), GetTeamWins(), GetTeamLosses()
std::string GetTeamName();
int GetTeamWins();
int GetTeamLosses();
// TODO: Declare GetWinPercentage()
double GetWinPercentage();
};
#endif