Advertisement
Guest User

Untitled

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