Answered step by step
Verified Expert Solution
Question
1 Approved Answer
____________________________________________________________ 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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started