subject

A text file named "Super Bowl Winners. txt" contains the names of the teams that won the Super Bowl from 1967 through 2019. Write a program that repeatedly allows a user to enter a team name and then displays the number of times and the years in which that team won the Super Bowl. If the team entered by the user has never won the Super Bowl, report that to the user instead. For example, when a user enters "Cowboys" as the team name, your program should search the list of team names for "Cowboys", counting the number of times it was found. Your program should also display each of the years in which the specified team won the Super Bowl. For the Cowboys, the five years in which they won the Super Bowl were 1972, 1978, 1993, 1994, and 1996. Your program should allow the user to continue to make requests until they enter a suitable sentinel value such as the word "quit" or the letter "q" in place of a team name. This is an example of possible output:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
Select all that apply. which of the following are proofreading options included in microsoft word? spell check find replace grammar check formatting check
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Which of the following characters is acceptable to use in a filename? ? / – %
Answers: 1
You know the right answer?
A text file named "Super Bowl Winners. txt" contains the names of the teams that won the Super Bowl...
Questions
question
Mathematics, 25.02.2020 22:31
question
English, 25.02.2020 22:31
question
Mathematics, 25.02.2020 22:31
question
Mathematics, 25.02.2020 22:31
question
Mathematics, 25.02.2020 22:31
Questions on the website: 13722363