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, 21.06.2019 18:20
Write a method replacekey in the minheap class with the following signature: public void replacekey(integer oldkey, integer newkey) the method will replace the first occurrence of oldkey with the newkey, and restore the min-heap property after the change. if the oldkey does not exist in the heap, the method prints an appropriate message and returns without changing the heap. example: suppose our binary heap object (bh) has the following keys: *** 4 6 7 32 19 64 26 99 42 54 28 then the method call: bh.replacekey (oldkey integer(54), newkey integer(2))
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but it’s not that easy as we supposed to think. the majority of mobile applications don’t generate revenue because companies aren’t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
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, 06.11.2020 04:20
question
Medicine, 06.11.2020 04:20
question
Mathematics, 06.11.2020 04:20
Questions on the website: 13722360