class Competition {
private:
Team team[20];
public:
void Set(string _name, string _kind_of_sport, int _number_of_teams, string _date, string _location);
class Team {
public:
void TeamChange();
}
Competition comp;
comp.team.TeamChange();