Question: Help me this quesiton in C++ and please Don't use class . Thank you world_cup_champion.txt Year Country Coach Captain 1930 Uruguay Alberto Suppici Jos Nasazzi
Help me this quesiton in C++ and please Don't use class . Thank you


world_cup_champion.txt
| Year Country Coach Captain 1930 Uruguay Alberto Suppici Jos Nasazzi 1934 Italy Vittorio Pozzo Gianpiero Combi 1938 Italy Vittorio Pozzo Giuseppe Meazza 1950 Uruguay Juan Lpez Obdulio Varela 1954 Germany Sepp Herberger Fritz Walter 1958 Brazil Vicente Feola Hilderaldo Bellini 1962 Brazil Aymor Moreira Mauro Ramos 1966 England Alf Ramsey Bobby Moore 1970 Brazil Mrio Zagallo Carlos Alberto 1974 Germany Helmut Schn Franz Beckenbauer 1978 Argentina Csar Luis Menotti Daniel Passarella 1982 Italy Enzo Bearzot Dino Zoff 1986 Argentina Carlos Bilardo Diego Maradona 1990 Germany Franz Beckenbauer Lothar Matthus 1994 Brazil Carlos Alberto Parreira Dunga 1998 France Aim Jacquet Didier Deschamps 2002 Brazil Luiz Felipe Scolari Cafu 2006 Italy Marcello Lippi Fabio Cannavaro 2010 Spain Vicente del Bosque Iker Casillas 2014 Germany Joachim Lw Philipp Lahm 2018 France Didier Deschamps Hugo Lloris |
Create a program that reads a text file that contains a list of FIFA World Cup champions and determines the country that has won the most championships. Place your solution in folder lab4-q7 for submission. Console FIFA World Cup Winners Country Wins Years Argentina Brazil England France Germany Italy Spain Uruguay 2 5 1 1 4 4 1998, 1978, 1986 1958, 1962, 1970, 1994, 2002 1966 2018 1954, 1974, 1990, 2014 1934, 1938, 1982, 2006 2010 1930, 1950 1 2 Specifications You have been provided a text file named world cup champions.txt that contains data like this: Year\tCountry\tCoach\tCaptain 1930\tUruguay\tAlberto Suppici\tJos Nasazzi 1934\tItaly\tVittorio Pozzo\tGianpiero Combi 1938\tItaly\tVittorio Pozzo\tGiuseppe Meazza 1950\tUruguay\t Juan Lpez\tObdulio Varela 1954\tGermany\tSepp Herberger\tFritz Walter 1958\tBrazil\tVicente Feola\tHilderaldo Bellini 1962\tBrazil\tAymor Moreira\tMauro Ramos 1966\tEngland\tAlf Ramsey\tBobby Moore 1970\tBrazil\tMrio Zagallo\tCarlos Alberto 1974\tGermany\tHelmut Schn\tFranz Beckenbauer 1978\tArgentina\tCsar Luis Menotti\tDaniel Passarella 1982\tItaly\tEnzo Bearzot\tDino Zoff 1986\tArgentina\tCarlos Bilardo\tDiego Maradona 1990\tGermany\tFranz Beckenbauer\tLothar Matthus 1994\tBrazil\tCarlos Alberto Parreira\tDunga 1998\tFrance\tAim Jacquet\tDidier Deschamps 2002\tBrazil\tLuiz Felipe Scolari\tCafu 2006\tItaly\tMarcello Lippi\tFabio Cannavaro 2010\tSpain\tVicente del Bosque\tIker Casillas 2014\tGermany\t Joachim Lw\tPhilipp Lahm 2018\tFrance\tDidier Deschamps\tHugo Lloris When the program starts, it should read the text file and use a map to store the required data using the name of each country as the key. The program should display the countries in alphabetical order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
