class SwimStats { private: int golds; // the number of wins for this swimmer int medals; // the number of silver and bronze medals for this swimmer int finals; // the number of final placings of 4th-8th for this swimmer int heats; // the number of placings 9th or worse for this swimmer // deduct 1 mark if student has included the number of points here public: // deduct 2 marks if student has no comments in the public section // (or deduct 1 mark if not all methods have comments below) // deduct 1 additional mark if student has no comments in cpp file // deduct 1 mark if student is missing "const" anywhere below // deduct 1 mark if "&" missing on &otherSwimmer // constructs a new swimmer with 0 golds, 0 2-3rds, 0 4-8ths, 0 9th+ SwimStats(); // constructs a new swimmer with "golds" golds, "medals" medals, // "finals" finals, and "heats" heats SwimStats(int golds, int medals, int finals, int heats); // the swimmer adds a win to his record! void win(); // the swimmer adds a 2nd or 3rd to his record void medal(); // the swimmer adds a 4th-8th to his record void final(); // the swimmer adds a 9th or worse to his record void noFinal(); // prints the stats: "golds-medals-finals-heats" void printStats() const; // returns the number of golds this swimmer has to date int numGolds() const; // returns true if the swimmer has more medals (1st-3rd) than other placings bool moreMedals() const; // returns true if the swimmer has more gold medals than the other swimmer, // and false otherwise bool moreGoldsThan(const SwimStats &otherSwimmer) const; // returns the number of points the swimmer has (10 for a win; 5 for 2nd-3rd; // 1 for 4th-8th) int score() const; };