Your programming task is to write a program, using an array or ArrayList, to extract and print some information from a file of data.
You will find a file called “[url removed, login to view]” listed in the Exams folder. Download this file and place it in your Project folder. This file contains a chronological list of the winning teams in the SuperBowl from 1967 to 2015. The first line of the file represents the winning team in 1967 and the last line is the name of the team that won in 2015.
Your program will read in a name of a team entered by the user. Your program will need to read the list of information from the file, which contains one winner per line, into an array. You may assume there is at least one valid line in the file, but your program should work for any non-zero number of lines.
After you have read all of the lines into the array, the program should step through the array or ArrayList, counting the number of times the selected team appears. At the end, print out the number of years the team won the Super Bowl.
For example, given the following input: