Question: Computer language is C++. Please read instructions in all pictures, as it has to be done a certain way. Thank you! This week's program is





This week's program is a modification of Chapter 7 Programming Challenge 16: World Series Champion(Page 459) In addition to the specifications outlined in the book, you also need to include the following: - Include a function to read data from the file Teams.txt (file is attached) and store it in an array - Include a function that will be passed a team name. You are to read the data from the second file(World Series Winners.txt) and the function will return to main() the number of times the team has won the World Series in the time period 1903 to 2012. The statistics are to be displayed in main() - Include a function that will be passed the array with team names. For each team in the array, find out how many times each team has won the World Series. Store the count in another array Once the counts are stored, sort the contents of the counts array in the ascending order and then store the names of the respective teams in another array. Print on screen a sorted list of teams with wins For Programming Challenge 16. you will need to send me the cpp file only. While saving your C++ application, name the application file and cpp file using the format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
