question archive You have been given a data file with the World Series Winners form 1903 - 2018 in a file named WorldSeries

You have been given a data file with the World Series Winners form 1903 - 2018 in a file named WorldSeries

Subject:Computer SciencePrice: Bought3

You have been given a data file with the World Series Winners form 1903 - 2018 in a file named WorldSeries.txt.    Please note, the World Series was not played in 1904 and 1994 so those years are skipped.

flowchart and a program that will do the following:

Open the text file and read the contents of the file into an Array.

Prompt the user for the name of a team.  The user should be able to enter the team name using any case and still find the match.  For example, Philadelphia Phillies and philadelphia phillies should return the same results.

Using this information, your program will report the team name, the year(s) when the team won the series and the total number of games won by the team (Hint:  You will use a loop to step through the array to look for matches and a counter to keep track of the year numbers).

The program should continue to process more teams until the user wants to end the program.

Add a final message at the end of the program with the total number of teams processed, a final message of your choice and your name.

Requirements:

In order to receive full credit, the project must meet the following requirements:

flowchart to plan your program in Visio or PDF format.

The program must utilize an array and compile without modification.

Standard comments must be included at the top of the program.

Use proper line spacing, indentation and comments throughout the code.

All variables must be descriptive and declared at the top of the method (or the method heading).

The main method must be listed first.

You must use additional methods to control processing.  A minimum of 3 methods in total with proper method headings (including @parm and @return comment lines in the heading).

Output must be well organized.

You must have comments above each section of code to describe its purpose.  Add end of line comments as needed for further clarification.

a Test Plan with the expected outcome for at least 6 teams.   Run your program through the Test Plan and confirm the program works as expected

World Series Winners:

Boston Americans
New York Giants
Chicago White Sox
Chicago Cubs
Chicago Cubs
Pittsburgh Pirates
Philadelphia Athletics
Philadelphia Athletics
Boston Red Sox
Philadelphia Athletics
Boston Braves
Boston Red Sox
Boston Red Sox
Chicago White Sox
Boston Red Sox
Cincinnati Reds
Cleveland Indians
New York Giants
New York Giants
New York Yankees
Washington Senators
Pittsburgh Pirates
St. Louis Cardinals
New York Yankees
New York Yankees
Philadelphia Athletics
Philadelphia Athletics
St. Louis Cardinals
New York Yankees
New York Giants
St. Louis Cardinals
Detroit Tigers
New York Yankees
New York Yankees
New York Yankees
New York Yankees
Cincinnati Reds
New York Yankees
St. Louis Cardinals
New York Yankees
St. Louis Cardinals
Detroit Tigers
St. Louis Cardinals
New York Yankees
Cleveland Indians
New York Yankees
New York Yankees
New York Yankees
New York Yankees
New York Yankees
New York Giants
Brooklyn Dodgers
New York Yankees
Milwaukee Braves
New York Yankees
Los Angeles Dodgers
Pittsburgh Pirates
New York Yankees
New York Yankees
Los Angeles Dodgers
St. Louis Cardinals
Los Angeles Dodgers
Baltimore Orioles
St. Louis Cardinals
Detroit Tigers
New York Mets
Baltimore Orioles
Pittsburgh Pirates
Oakland Athletics
Oakland Athletics
Oakland Athletics
Cincinnati Reds
Cincinnati Reds
New York Yankees
New York Yankees
Pittsburgh Pirates
Philadelphia Phillies
Los Angeles Dodgers
St. Louis Cardinals
Baltimore Orioles
Detroit Tigers
Kansas City Royals
New York Mets
Minnesota Twins
Los Angeles Dodgers
Oakland Athletics
Cincinnati Reds
Minnesota Twins
Toronto Blue Jays
Toronto Blue Jays
Atlanta Braves
New York Yankees
Florida Marlins
New York Yankees
New York Yankees
New York Yankees
Arizona Diamondbacks
Anaheim Angels
Florida Marlins
Boston Red Sox
Chicago White Sox
St. Louis Cardinals
Boston Red Sox
Philadelphia Phillies
New York Yankees
San Francisco Giants
St. Louis Cardinals
San Francisco Giants
Boston Red Sox
San Francisco Giants
Kansas City Royals
Chicago Cubs
Houston Astros
Boston Red Sox

 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE