Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Olympics IOC committed publishes a lot of data about past medal winners. I have created a comma delimited file Olympics.txt which you are to

The Olympics IOC committed publishes a lot of data about past medal winners. I have created a comma delimited file Olympics.txt which you are to use to summarize this data. Your assignment is to read a comma delimited data file into a three dimension array and summarize the data. The data portion in the Olympics.txt data file lists all athletes who have won 8 or more medals and their country. You are to use the array to create a report summarizing the following: Country, Total number of all medals for that country. You will need to first sort the array by country Second you will need to add up the total number of medals for that country and Third, output that countries data to a line in your report TopMedalWinnersReport: Determine the countries earning the greatest number of medals and output the countrys athletes whose scores make up their total. Upload your java program, your TopMedalWinnersReport.txt to Canvas. Sample of lines in the Olympics.txt data file: Country,Athletes_Name,Medals Soviet Union,Larisa_LATYNINA,18 United States,Michael_PHELPS,16 Soviet Union,Nikolay_ANDRIANOV,15 Italy,Edoardo_MANGIAROTTI,13 Japan,Takashi_ONO,13 Soviet Union,Boris_SHAKHLIN,13 Sample Output TopMedalWinnersReport Report Example Japan 13 Medals Takashi_Ono 13 Soviet Union 31 Medals Larissa_LATYNINA 18 Nkolay_ANDRIANOV 15

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions