Question: ____________________________________________________________ SoccerStatsBonus.txt Work with your pair programming partner to develop an algorithm for a Java program that reads data from a file. The data involves

 ____________________________________________________________ SoccerStatsBonus.txt Work with your pair programming partner to develop an

____________________________________________________________

SoccerStatsBonus.txt

algorithm for a Java program that reads data from a file. The

Work with your pair programming partner to develop an algorithm for a Java program that reads data from a file. The data involves some soccer statistics. It includes the name of the soccer team, the number of goals, and the number of shots per game. The program will read in this data, it will find the maximum and minimum number of goals scored by the teams along with the name of the team that scored those goals. It will also find the average of the shots per game. The program will then output the results to a file called soccerSummary.txt. The file's data should look like this 1. Maximum goals Scored: Monaco 15 Minimum goals Scored: Athletic Bilbao 1 Average shots per game: 15.565 Please note that there are two different input files to choose from. The soccerShots.txt file contains one- word team names, goals and shots all separated by the tab key. The bonus file allows for spaces in the name of the teams. You may choose which file you would like to work with

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!