Question: Using C++ Create a program that reads a text file that contains a list of FIFA World Cup champions and determines the country that has

 Using C++ Create a program that reads a text file that

Using C++

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-97 for submission. Console FIFA World Cup Winners Country Wins Years ==== SERDE Argentina Brazil England France Germany Italy Spain Uruguay 2 5 1 1 4 4 1 2 1978, 1986 1958, 1962, 1970, 1994, 2002 1966 1998, 2018 1954, 1974, 1990, 2014 1934, 1938, 1982, 2006 2010 1930, 1950 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\t Jos 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\t Vicente 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\t Enzo 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 2 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!