#include "Table.h" #include "Team.h" #include #include using std::cout; using std::endl; using std::string; using std::ostream; using std::left; using std::setw; void Table::setTeam(const Team& toSet) { teams.push_back(toSet); } void Table::print(ostream& output) { int n=0; output << left << setw(22) << "Team" << setw(9) << "Matches" << setw(12) << "Games won" << setw(12) << "Games lost" << setw(12) << "Points won" << setw(12) << "Points lost" << endl;; while(nteams[n].getpointsWon()) if(!(teams[j]