Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 17.04 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <iomanip>
  4. using namespace std;
  5.  
  6. struct Players {
  7.     string name;
  8.     string surname;
  9.     string position;
  10.     int age;
  11.     int number;
  12.     int noPlayers = 0;
  13.     void print() {
  14.         cout << "Player: " << name << surname << endl;
  15.         cout << "Position: " << position << endl;
  16.         cout << "Age: " << age << endl;
  17.         cout << "Number: " << number << endl;
  18.         cout << "---------------------------" << endl;
  19.     }
  20. };
  21. struct Team {
  22.     string name;
  23.     int pos;
  24.     int noClubs = 0;
  25.     Players players[3];
  26.     void printTeam()
  27.     {
  28.  
  29.         cout << "\n" << left << setw(35) << name;
  30.         cout << setw(35) << pos;
  31.     }
  32.     int noPlayers = 0;
  33.     void playerClub(Players p)
  34.     {
  35.         players[noPlayers] = p;
  36.         noPlayers++;
  37.  
  38.     }
  39.     void printPlayers()
  40.     {
  41.     for (int i = 0;i < noPlayers; i++)
  42.     {
  43.         players[i].print();
  44.     }
  45.     }
  46. };
  47. struct League {
  48.     string name;
  49.     int division;
  50.     Team teams[24];
  51.     int noClubs=0;
  52.     void print()
  53.     {
  54.         cout << "Division: " << division << endl;
  55.         cout << "League Name: " << name << endl;
  56.  
  57.     }
  58.     void clubLeague(Team t)
  59.     {
  60.         teams[noClubs] = t;
  61.         noClubs++;
  62.     }
  63.     void printT()
  64.     {
  65.         cout << "League: " << name << endl;
  66.         cout << "Team "<< setw(35) << "Position" << setw(35);
  67.         for (int i = 0; i <= noClubs-1; i++)
  68.         {
  69.             teams[i].printTeam();
  70.         }
  71.     }
  72.    
  73. };
  74.  
  75. struct Countries {
  76.     string name;
  77.     League leagues[2];
  78.     int noLeagues = 0;
  79.     Countries(string n) {
  80.         name = n;
  81.     }
  82.     void leaguestate(League l)
  83.     {
  84.         leagues[noLeagues] = l;
  85.         noLeagues++;
  86.     }
  87.     void print()
  88.     {
  89.         cout << "Country: " << name << endl;
  90.  
  91.         for (int i = 0; i < noLeagues; i++)
  92.             leagues[i].print();
  93.     }
  94.  
  95. };
  96.  
  97.  
  98. int main() {
  99.     int division;
  100.     int club;
  101.     Countries england("England");
  102.     Countries spain("Spain");
  103.     Countries macedonia("Macedonia");
  104.  
  105.     League epl1{ "English Premier League",1 };
  106.     League epl2{ "English Championship",2 };
  107.     League laliga{ "La Liga Santander",1 };
  108.     League secunda{ "Secunda Division",2 };
  109.     League league1{ "First League",1 };
  110.     League league2{ "Second League",2 };
  111.  
  112.     //Epl1 Teams
  113.     Team liverpool{ "Liverpool", 1 };
  114.     Team mancity{ "Manchester City", 2 };
  115.     Team tottenham{ "Tottenham",3 };
  116.     Team arsenal{ "Arsenal", 4 };
  117.     Team manunited{ "Manchester United", 5 };
  118.  
  119.     //Putting clubs into league for EPL
  120.     epl1.clubLeague(liverpool);
  121.     epl1.clubLeague(mancity);
  122.     epl1.clubLeague(tottenham);
  123.     epl1.clubLeague(arsenal);
  124.     epl1.clubLeague(manunited);
  125.  
  126.     //Liverpool Players
  127.     Players dejan{ "Dejan", " Lovren", "Centerback", 29, 6 };
  128.     Players joel{ "Joel", " Matip", "Centerback", 27, 32 };
  129.     Players shaqiri{ "Xherdan", " Shaqiri", "Attacking Midfielder", 28, 23 };
  130.     liverpool.playerClub(dejan);
  131.     liverpool.playerClub(joel);
  132.     liverpool.playerClub(shaqiri);
  133.     //Manchester City players
  134.     Players otamendi{ "Nicholas", " Otamendi", "Centerback", 31, 30 };
  135.     Players kevin{ "Kevin", " De Bryune", "Center Midfielder", 27, 17 };
  136.     Players jesus{ "Gabriel", " Jesus", "Forward", 21, 33 };
  137.     mancity.playerClub(otamendi);
  138.     mancity.playerClub(kevin);
  139.     mancity.playerClub(jesus);
  140.     //Tottenham players
  141.     Players ericssen{ "Christian", " Ericssen", "Midfielder", 23, 27 };
  142.     Players dele{ "Dele", " Alli", "Attacking Midfielder", 22, 20 };
  143.     Players kane{ "Harry", " Kane", "Center Forward", 25, 10 };
  144.     tottenham.playerClub(ericssen);
  145.     tottenham.playerClub(dele);
  146.     tottenham.playerClub(kane);
  147.     //Arsenal players
  148.     Players bellerin{ "Hector", " Bellerin", "Left Back", 24, 2 };
  149.     Players mustafi{ "Shkodran", " Mustafi", "Center Back", 26, 20 };
  150.     Players ozil{ "Mesut", " Ozil", "Attacking Midfielder", 30, 10 };
  151.     arsenal.playerClub(bellerin);
  152.     arsenal.playerClub(mustafi);
  153.     arsenal.playerClub(ozil);
  154.     //Man United players
  155.     Players david{ "David", " de Gea", "Goalkeeper", 27, 1 };
  156.     Players jesse{ "Jesse", " Lingard", "Left Wing", 26, 14 };
  157.     Players lukaku{ "Romelo", " Lukaku", "Striker", 25, 9 };
  158.     manunited.playerClub(david);
  159.     manunited.playerClub(jesse);
  160.     manunited.playerClub(lukaku);
  161.  
  162.     //Putting clubs into league for EPL2
  163.     Team norwich{ "Norwich City", 1 };
  164.     Team sheffutd{ "Sheff Utd", 2 };
  165.     Team leeds{ "Leeds United", 3 };
  166.     Team westbrom{ "West Brom", 4 };
  167.     Team middlesbrough{ "Middlesbrough", 5 };
  168.     epl2.clubLeague(norwich);
  169.     epl2.clubLeague(sheffutd);
  170.     epl2.clubLeague(leeds);
  171.     epl2.clubLeague(westbrom);
  172.     epl2.clubLeague(middlesbrough);
  173.     //Putting players in clubs for EPL2
  174.  
  175.     //Norwich players
  176.     Players alfie{ "Alfie", " Payne", "Midfielder", 18, 16 };
  177.     Players teemu{ "Teemu", " Pukki", "Forward", 24, 8 };
  178.     Players ben{ "Ben", " Godfrey", "Attacker", 21, 22 };
  179.     norwich.playerClub(alfie);
  180.     norwich.playerClub(teemu);
  181.     norwich.playerClub(ben);
  182.     //Sheffield players
  183.     Players dean{ "Dean", " Henderson", "Goalkeeper", 22, 38 };
  184.     Players jack{ "Jack", "O'Connell", "Defender", 24, 35 };
  185.     Players billy{ "Billy", " Sharp", "Attacker", 33, 34 };
  186.     sheffutd.playerClub(dean);
  187.     sheffutd.playerClub(jack);
  188.     sheffutd.playerClub(billy);
  189.     //Leeds players
  190.     Players casilla{ "Francisco", " Casilla", "Goalkeeper", 32, 33 };
  191.     Players liam{ "Liam", " Cooper", "Defender", 30, 28 };
  192.     Players roofe{ "Kemar", " Roofe", "Midfielder", 23, 7 };
  193.     leeds.playerClub(casilla);
  194.     leeds.playerClub(roofe);
  195.     leeds.playerClub(billy);
  196.     //wba players
  197.     Players alex{ "Alex", " Palmer", "Goalkeeper", 22, 1 };
  198.     Players tyrone{ "Tyrone", " Mears", "Defender", 36, 12 };
  199.     Players sam{ "Sam", " Field", "Midfielder", 20, 28 };
  200.     westbrom.playerClub(alex);
  201.     westbrom.playerClub(tyrone);
  202.     westbrom.playerClub(sam);
  203.     //Middlesbrough players
  204.     Players aden{ "Aden", " Flint", "Defender", 29, 24 };
  205.     Players adam{ "Adam", " Clayton", "Midfielder", 30, 8 };
  206.     Players lewis{ "Lewis", " Wing", "Midfielder", 23, 26 };
  207.     middlesbrough.playerClub(aden);
  208.     middlesbrough.playerClub(adam);
  209.     middlesbrough.playerClub(lewis);
  210.    
  211.     //La Liga Teams
  212.     Team barcelona{ "Barcelona",1 };
  213.     Team atleticomadrid{ "Atletico Madrid",2 };
  214.     Team realmadrid{ "Real Madrid",3 };
  215.     Team getafe{ "Getafe",4 };
  216.     Team alaves{ "Alaves",5 };
  217.  
  218.    
  219.     laliga.clubLeague(barcelona);
  220.     laliga.clubLeague(atleticomadrid);
  221.     laliga.clubLeague(realmadrid);
  222.     laliga.clubLeague(getafe);
  223.     laliga.clubLeague(alaves);
  224.  
  225.     //Barcelona players
  226.     Players messi{ "Lionel", " Messi", "Attacking Midfielder", 31, 10 };
  227.     Players rakitic{ "Ivan"," Rakitic","Midfielder",31,4 };
  228.     Players pique{ "Gerard"," Pique","Center Back",32,3 };
  229.  
  230.     barcelona.playerClub(messi);
  231.     barcelona.playerClub(rakitic);
  232.     barcelona.playerClub(pique);
  233.     //Atletico Madrid Players
  234.     Players costa{ "Diego", " Costa","Forward",30,19 };
  235.     Players correa{ "Angel"," Correa","Midfielder",24,10 };
  236.     Players godin{ "Diego"," Godin","Defender",33,2 };
  237.  
  238.     atleticomadrid.playerClub(costa);
  239.     atleticomadrid.playerClub(correa);
  240.     atleticomadrid.playerClub(godin);
  241.     //Real Madrid Players
  242.     Players benzema{ "Karim"," Benzema","Attacker",31,9 };
  243.     Players bale{ "Gareth"," Bale","Attacker",29,11 };
  244.     Players kroos{ "Toni"," Kroos","Midfielder",29,8 };
  245.  
  246.     realmadrid.playerClub(benzema);
  247.     realmadrid.playerClub(bale);
  248.     realmadrid.playerClub(kroos);
  249.     //Getafe Players
  250.     Players foulquier{ "Dimitri"," Foulquier","Defender",25,24 };
  251.     Players maksimovic{ "Nemanja", " Maksimovic", "Midfielder",24,20 };
  252.     Players chichizola{ "Leandro", " Chichizola", "Goalkeeper", 28,1 };
  253.  
  254.     getafe.playerClub(foulquier);
  255.     getafe.playerClub(maksimovic);
  256.     getafe.playerClub(chichizola);
  257.     //Alaves Players
  258.     Players takashi{ "Inui", " Takashi", "Midfielder", 30,11 };
  259.     Players maripan{ "Guillermo", " Maripan", "Defender",24,6 };
  260.     Players guidetti{ "John", " Guidetti","Attacker",26,10 };
  261.  
  262.     alaves.playerClub(takashi);
  263.     alaves.playerClub(maripan);
  264.     alaves.playerClub(guidetti);
  265.     //Segunda division teams
  266.     Team osasuna{ "Osasuna", 1 };
  267.     Team granada{ "Granada", 2 };
  268.     Team deportivo{ "Deportivo", 3 };
  269.     Team malaga{ "Malaga", 4 };
  270.     Team mallorca{ "RCD Mallorca", 5 };
  271.  
  272.     secunda.clubLeague(osasuna);
  273.     secunda.clubLeague(granada);
  274.     secunda.clubLeague(deportivo);
  275.     secunda.clubLeague(malaga);
  276.     secunda.clubLeague(mallorca);
  277.     //Osasuna players
  278.     Players juan{ "Juan", " Perez", "Goalkeeper", 22, 26 };
  279.     Players nacho{ "Nacho", " Vidal", "Defender", 23, 2 };
  280.     Players fran{ "Fran", " Merida", "Midfielder", 29, 8 };
  281.     osasuna.playerClub(juan);
  282.     osasuna.playerClub(nacho);
  283.     osasuna.playerClub(fran);
  284.     //Granada players
  285.     Players rui{ "Rui", " Silva", "Goalkeeper", 25, 1 };
  286.     Players victor{ "Victor", " Diaz", "Defender", 30, 16 };
  287.     Players carlos{ "Neva", " Carlos", "Defender", 22, 31 };
  288.     granada.playerClub(rui);
  289.     granada.playerClub(nacho);
  290.     granada.playerClub(fran);
  291.     //Deportivo players
  292.     Players vitor{ "Vitor", " Silva", "Midfielder", 35, 6 };
  293.     Players valle{ "Borja", " Valle", "Attacker", 26, 19 };
  294.     Players christian{ "Christian", " Church", "Attacker", 30, 9 };
  295.     deportivo.playerClub(vitor);
  296.     deportivo.playerClub(valle);
  297.     deportivo.playerClub(christian);
  298.     //Malaga players
  299.     Players werner{ "Alex", " Werner", "Goalkeeper", 23, 1 };
  300.     Players torres{ "Miguel", " Torres", "Defender", 33, 23 };
  301.     Players keidi{ "Keidi", " Bare", "Midfielder", 21, 35 };
  302.     malaga.playerClub(werner);
  303.     malaga.playerClub(torres);
  304.     malaga.playerClub(keidi);
  305.     //Mallorca players
  306.     Players manolo{ "Manolo", " Reina", "Goalkeeper", 33, 1 };
  307.     Players salva{ "Salva", " Ruiz", "Defender", 23, 17 };
  308.     Players ante{ "Ante", " Budimir", "Midfielder", 27, 22 };
  309.     mallorca.playerClub(manolo);
  310.     mallorca.playerClub(salva);
  311.     mallorca.playerClub(ante);
  312.     //Macedonia First League teams
  313.     Team shkendija{ "Shkendija", 1 };
  314.     Team pandev{ "Akademija Pandev", 2 };
  315.     Team vardar{ "FK Vardar", 3 };
  316.     Team shkupi{ "Shkupi", 4 };
  317.     Team rabotnicki{ "Rabotnicki", 5 };
  318.    
  319.  
  320.     league1.clubLeague(shkendija);
  321.     league1.clubLeague(pandev);
  322.     league1.clubLeague(vardar);
  323.     league1.clubLeague(shkupi);
  324.     league1.clubLeague(rabotnicki);
  325.    
  326.     //Shkendija Players
  327.     Players ibraimi{ "Agim"," Ibraimi","Midfielder",30,10 };
  328.     Players besart{ "Besart"," Ibraimi","Forward",32,7 };
  329.     Players armend{ "Armend", " Alimi", "Midfielder",31,5 };
  330.  
  331.     shkendija.playerClub(ibraimi);
  332.     shkendija.playerClub(besart);
  333.     shkendija.playerClub(armend);
  334.  
  335.     //Akademija pandev players
  336.     Players aleksandar{ "Aleksandar"," Mishov","Forward",20,9 };
  337.     Players nikola{ "Nikola","Spasov"," Midfielder",19,15 };
  338.     Players vane{ "Vane","Jovanov"," Defender",20,2 };
  339.  
  340.     pandev.playerClub(aleksandar);
  341.     pandev.playerClub(nikola);
  342.     pandev.playerClub(vane);
  343.  
  344.     //Vardar Players
  345.     Players xhemal{ "Xhemal","Ibishi"," Midfielder",18,46 };
  346.     Players ali{ "Ali" , "Adem"," Midfielder",18,34 };
  347.     Players maksim{ "Maksim","Maksimov"," Attacker",23,9 };
  348.  
  349.     vardar.playerClub(xhemal);
  350.     vardar.playerClub(ali);
  351.     vardar.playerClub(maksim);
  352.  
  353.     //Shkupi Players
  354.     Players amir{ "Amir"," Bilali","Defender",24,4 };
  355.     Players suat{ "Suat"," Zendeli","Goalkeeper",38,1 };
  356.     Players muharem{ "Muharem"," Bajrami","Defender",33,5 };
  357.  
  358.     shkupi.playerClub(amir);
  359.     shkupi.playerClub(suat);
  360.     shkupi.playerClub(muharem);
  361.  
  362.     //Rabotnicki Players
  363.     Players blaze{ "Dejan"," Blazebski","Forward",33,9 };
  364.     Players petar{ "Petar"," Petkovski","Forward",22,7 };
  365.     Players nikolaj{ "Nikolaj"," Dyulgerov","Midfielder",31,8 };
  366.  
  367.     rabotnicki.playerClub(blaze);
  368.     rabotnicki.playerClub(petar);
  369.     rabotnicki.playerClub(nikolaj);
  370.     //Macedonia Second League
  371.  
  372.     Team struga{ "Struga", 1 };
  373.     Team labunishta{ "Labunishta", 2 };
  374.     Team skopje{ "FK Skopje", 3 };
  375.     Team korabi{ "Korabi", 4 };
  376.     Team vellazerimi{ "Vellazerimi 77", 5 };
  377.    
  378.  
  379.     league2.clubLeague(struga);
  380.     league2.clubLeague(labunishta);
  381.     league2.clubLeague(skopje);
  382.     league2.clubLeague(korabi);
  383.     league2.clubLeague(vellazerimi);
  384.  
  385.     //Struga players
  386.     Players tairi{ "Flamur", " Tairi", "Midfielder", 29, 9 };
  387.     Players kaba{ "Dieli", " Kaba", "Attacker", 25, 22 };
  388.     Players loga{ "Altin", " Loga", "Midfielder", 26, 11 };
  389.  
  390.     struga.playerClub(tairi);
  391.     struga.playerClub(kaba);
  392.     struga.playerClub(loga);
  393.     //Labunishta players
  394.     Players opre{ "Mugni", " Opre", "Goalkeeper", 24, 1 };
  395.     Players saliu{ "Pajazit", " Saliu", "Forward", 28, 7 };
  396.     Players rexhepi{ "Nexhmi", " Rexhepi", "Forward", 24, 10 };
  397.  
  398.     labunishta.playerClub(opre);
  399.     labunishta.playerClub(saliu);
  400.     labunishta.playerClub(loga);
  401.     //Skopje players
  402.     Players ristovski{ "Milan", " Ristovski", "Midfielder", 25, 10 };
  403.     Players cvetkovski{ "Marjan", "Cvetkovsi", "Goalkeeper", 22, 1 };
  404.     Players fakikj{ "Meris", " Fakikj", "Defender", 26, 16 };
  405.     skopje.playerClub(ristovski);
  406.     skopje.playerClub(cvetkovski);
  407.     skopje.playerClub(loga);
  408.     //futja e ligave ne shtete
  409.     england.leaguestate(epl1);
  410.     england.leaguestate(epl2);
  411.     spain.leaguestate(laliga);
  412.     spain.leaguestate(secunda);
  413.     macedonia.leaguestate(league1);
  414.     macedonia.leaguestate(league2);
  415.  
  416.    
  417.     string country;
  418.     cout << "Football leagues" << endl;
  419.     cout << "Choose country to see the leagues: " << endl;
  420.     cout << "1.England " << endl;
  421.     cout << "2.Spain " << endl;
  422.     cout << "3.Macedonia" << endl;
  423.     cin >> country;
  424.     if ((country == "England") || (country == "england"))
  425.     {
  426.         england.print();
  427.     }
  428.     else
  429.         if ((country == "Spain") || (country == "spain"))
  430.         {
  431.             spain.print();
  432.         }
  433.         else
  434.             if ((country == "Macedonia") || (country == "macedonia"))
  435.             {
  436.                 macedonia.print();
  437.             }
  438.             else
  439.             {
  440.                 cout << "You choose wrong name";
  441.                 cin.get(); cin.get();
  442.                 return 0;
  443.             }
  444.     cout << "Choose divison: " << endl;
  445.     cin >> division;
  446.     if (division == 1 && (country == "England" || country == "england"))
  447.     {
  448.         epl1.printT();
  449.     }
  450.     else if (division == 2 && (country == "England" || country == "england"))
  451.     {
  452.         epl2.printT();
  453.     }
  454.     else if (division == 1 && (country == "Spain" || country == "spain"))
  455.     {
  456.         laliga.printT();
  457.     }
  458.     else if (division == 2 && (country == "Spain" || country == "spain"))
  459.     {
  460.         secunda.printT();
  461.     }
  462.     else if (division == 1 && (country == "macedonia" || country == "Macedonia"))
  463.     {
  464.         league1.printT();
  465.     }
  466.     else if (division == 2 && (country == "macedonia" || country == "Macedonia"))
  467.     {
  468.         league2.printT();
  469.     }
  470.     cout << "\nChoose team: " << endl;
  471.     cin >> club;
  472.     if (club == 1 && division == 1 && (country == "England" || country == "england"))
  473.     {
  474.         liverpool.printPlayers();
  475.     }
  476.     if(club == 2 && division == 1 && (country == "England" || country == "england"))
  477.     {
  478.         mancity.printPlayers();
  479.     }
  480.     if (club == 3 && division == 1 && (country == "England" || country == "england"))
  481.     {
  482.         tottenham.printPlayers();
  483.     }
  484.     if (club == 4 && division == 1 && (country == "England" || country == "england"))
  485.     {
  486.         arsenal.printPlayers();
  487.     }
  488.     if (club == 5 && division == 1 && (country == "England" || country == "england"))
  489.     {
  490.         manunited.printPlayers();
  491.     }
  492.     if (club == 1 && division == 2 && (country == "England" || country == "england")) {
  493.         norwich.printPlayers();
  494.     }
  495.     if (club == 2 && division == 2 && (country == "England" || country == "england")) {
  496.         sheffutd.printPlayers();
  497.     }
  498.     if (club == 3 && division == 2 && (country == "England" || country == "england")) {
  499.         leeds.printPlayers();
  500.     }
  501.     if (club == 4 && division == 2 && (country == "England" || country == "england")) {
  502.         westbrom.printPlayers();
  503.     }
  504.     if (club == 5 && division == 2 && (country == "England" || country == "england")) {
  505.         middlesbrough.printPlayers();
  506.     }
  507.     if (club == 1 && division == 1 && (country == "spain" || country == "Spain")) {
  508.         barcelona.printPlayers();
  509.     }
  510.     if (club == 2 && division == 1 && (country == "spain" || country == "Spain")) {
  511.         atleticomadrid.printPlayers();
  512.     }
  513.     if (club == 3 && division == 1 && (country == "spain" || country == "Spain")) {
  514.         realmadrid.printPlayers();
  515.     }
  516.     if (club == 4 && division == 1 && (country == "spain" || country == "Spain")) {
  517.         getafe.printPlayers();
  518.     }
  519.     if (club == 5 && division == 1 && (country == "spain" || country == "Spain")) {
  520.         alaves.printPlayers();
  521.     }
  522.     if (club == 1 && division == 2 && (country == "spain" || country == "Spain")) {
  523.         osasuna.printPlayers();
  524.     }
  525.     if (club == 2 && division == 2 && (country == "spain" || country == "Spain")) {
  526.         granada.printPlayers();
  527.     }
  528.     if (club == 3 && division == 2 && (country == "spain" || country == "Spain")) {
  529.         deportivo.printPlayers();
  530.     }
  531.     if (club == 4 && division == 2 && (country == "spain" || country == "Spain")) {
  532.         malaga.printPlayers();
  533.     }
  534.     if (club == 5 && division == 2 && (country == "spain" || country == "Spain")) {
  535.         mallorca.printPlayers();
  536.     }
  537.     if (club == 1 && division == 1 && (country == "macedonia" || country == "Macedonia")) {
  538.         shkendija.printPlayers();
  539.     }
  540.     if (club == 2 && division == 1 && (country == "macedonia" || country == "Macedonia")) {
  541.         pandev.printPlayers();
  542.     }
  543.     if (club == 3 && division == 1 && (country == "macedonia" || country == "Macedonia")) {
  544.         vardar.printPlayers();
  545.     }
  546.     if (club == 4 && division == 1 && (country == "macedonia" || country == "Macedonia")) {
  547.         shkupi.printPlayers();
  548.     }
  549.     if (club == 5 && division == 1 && (country == "macedonia" || country == "Macedonia")) {
  550.         rabotnicki.printPlayers();
  551.     }
  552.     if (club == 1 && division == 2 && (country == "macedonia" || country == "Macedonia")) {
  553.         struga.printPlayers();
  554.     }
  555.     if (club == 2 && division == 2 && (country == "macedonia" || country == "Macedonia")) {
  556.         labunishta.printPlayers();
  557.     }
  558.     if (club == 3 && division == 2 && (country == "macedonia" || country == "Macedonia")) {
  559.         skopje.printPlayers();
  560.     }
  561.     cin.get(); cin.get();
  562.     return 0;
  563. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement