subject

In this module, you learned about using arrays and lists. You learned about differences between the two and how they are used. Before beginning this assignment, go to the Chap07 folder of the Student Sample Programs, to find the following files (see Module 0 for questions accessing this folder):Teams. txt— this file contains a list of several Major League baseball teams in alphabetical order. Each team listed in the file has won the World Series at least once. WorldSeriesWinners. txt— this file contains a chronological list of the World Series’ winning teams from 1903 through 2012. (The first line in the file is the name of the team that won in 1903, and the last line is the name of the team that won in 2012. Note that the World Series was not played in 1904 or 1994.)For this assignment, create an application that displays the contents of the Teams. txt file in a ListBox control. When the user selects a team in the ListBox, the application should display the number of times that team has won the World Series in the time period from 1903 through 2012.Your program should meet the following objectives:Read the contents of the WorldSeriesWinners. txt file into a list or an array. When the user selects a team from the list, the algorithm should step through the list or array counting the number of times the selected team appears. Display the number of times that team has won the World Series on the form. It should also display a message if the team has not won any World Series. Make a working version of this program in C#.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
You know the right answer?
In this module, you learned about using arrays and lists. You learned about differences between the...
Questions
question
Geography, 05.05.2020 05:48
question
Chemistry, 05.05.2020 05:48
question
Biology, 05.05.2020 05:48
question
English, 05.05.2020 05:48
Questions on the website: 13722363