Code in C++ language Included is an input file that contains data for every Superbowl MVP winner, their position, and the team for which they played. Here is a sample of the data in the file. I removed the top row to make importation easier. Import this file into a 2D string array with 55 rows and 6 columns. Use two array indexes for first and last name.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter12: Exception Handling
Section: Chapter Questions
Problem 11PE
icon
Related questions
Question
Code in C++ language
 
Included is an input file that contains data for every Superbowl MVP winner, their position, and the team for which they played.
Here is a sample of the data in the file. I removed the top row to make importation easier. Import this file into a 2D string array with 55 rows and
6 columns. Use two array indexes for first and last name.  
 
Superbowl Year Winner MVP Position
I 1967 Packers Bart Starr  QB
II 1968 Packers Bart Starr  QB
III 1969 Jets Joe Namath  QB
IV 1970 Chiefs Len Dawson  QB
V 1971 Colts Chuck Howley  LB
VI 1972 Cowboys Roger Staubach  QB
VII 1973 Dolphins Jake Scott  S
VIII 1974 Dolphins Larry Csonka  FB
IX 1975 Steelers Franco Harris  RB
X 1976 Steelers Lynn Swann  WR 
5: List al1 MVP winners
6: EXIT
Enter number: 5
SBowl
I
II
III
IV
Year
MVP
Pos
Team
1967
Bart Starr
Packers
QB
QB
QB
QB
1968
Bart Starr
Packers
1969
Joe Namath
Jets
1970
Len Dawson
Chiefs
1971
Chuck Howley
LB
Colts
Roger Staubach
Jake Scott
VI
VII
VIII
IX
Cowboys
Dolphins
Dolphins
1972
QB
1973
1974
Larry Csonka
FB
1975
Franco Harris
RB
Steelers
1976
Lynn Swann
WR
Steelers
XI
XII
XIII
XIV
XV
1977
Fred Biletnikof WR
Raiders
1978
Randy White
DL
Cowboys
Terry Bradshaw
Terry Bradshaw QB
QB
QB
1979
QB
Steelers
1980
Steelers
1981
Jim Plunkett
Raiders
XVI
1982
Joe Montana
49ers
XVII
XVIII
XIX
XX
XXI
XXII
XXIII
XXIV
XXV
XXVI
XXVII
1983
John Riggins
RB
Redskins
1984
Marcus Allen
RB
Raiders
1985
Joe Montana
QB
49ers
1986
Richard Dent
DE
Bears
1987
Phil Simms
Giants
QB
QB
Doug Williams
Jerry Rice
1988
Redskins
1989
WR
49ers
1990
QB
Ottis Anderson
Joe Montana
49ers
1991
RB
Giants
Mark Rypien
Troy Aikman
Emmitt Smith
1992
Redskins
QB
QB
Cowboys
Cowboys
1993
XXVIII
XXIX
XXX
XXXI
XXXII
XXXIII
XXXIV
XXXV
XXXVI
XXXVII
ΧXXVI I Ι 2004
ХXXIX
XL
XLI
1994
RB
1995
Steve Young
QB
49ers
Larry Brown
Desmond Howard
1996
CB
Cowboys
1997
KR
Packers
1998
Terrell Davis
RB
Broncos
1999
John Elway
QB
QB
Broncos
2000
Kurt Warner
Rams
Ray Lewis
Tom Brady
2001
LB
Ravens
2002
QB
Patriots
2003
Dexter Jackson
CB
Buccaneers
Tom Brady
Deion Branch
QB
Patriots
2005
WR
Patriots
2006
Hines Ward
WR
Steelers
Peyton Manning QB
Eli Manning
2007
Colts
XLII
2008
QB
Giants
XLIII
XLIV
2009
Santonio Holmes WR
Steelers
2010
Drew Brees
QB
Saints
YLV
2911
Aaron Rodgers
OR
Dackers
Transcribed Image Text:5: List al1 MVP winners 6: EXIT Enter number: 5 SBowl I II III IV Year MVP Pos Team 1967 Bart Starr Packers QB QB QB QB 1968 Bart Starr Packers 1969 Joe Namath Jets 1970 Len Dawson Chiefs 1971 Chuck Howley LB Colts Roger Staubach Jake Scott VI VII VIII IX Cowboys Dolphins Dolphins 1972 QB 1973 1974 Larry Csonka FB 1975 Franco Harris RB Steelers 1976 Lynn Swann WR Steelers XI XII XIII XIV XV 1977 Fred Biletnikof WR Raiders 1978 Randy White DL Cowboys Terry Bradshaw Terry Bradshaw QB QB QB 1979 QB Steelers 1980 Steelers 1981 Jim Plunkett Raiders XVI 1982 Joe Montana 49ers XVII XVIII XIX XX XXI XXII XXIII XXIV XXV XXVI XXVII 1983 John Riggins RB Redskins 1984 Marcus Allen RB Raiders 1985 Joe Montana QB 49ers 1986 Richard Dent DE Bears 1987 Phil Simms Giants QB QB Doug Williams Jerry Rice 1988 Redskins 1989 WR 49ers 1990 QB Ottis Anderson Joe Montana 49ers 1991 RB Giants Mark Rypien Troy Aikman Emmitt Smith 1992 Redskins QB QB Cowboys Cowboys 1993 XXVIII XXIX XXX XXXI XXXII XXXIII XXXIV XXXV XXXVI XXXVII ΧXXVI I Ι 2004 ХXXIX XL XLI 1994 RB 1995 Steve Young QB 49ers Larry Brown Desmond Howard 1996 CB Cowboys 1997 KR Packers 1998 Terrell Davis RB Broncos 1999 John Elway QB QB Broncos 2000 Kurt Warner Rams Ray Lewis Tom Brady 2001 LB Ravens 2002 QB Patriots 2003 Dexter Jackson CB Buccaneers Tom Brady Deion Branch QB Patriots 2005 WR Patriots 2006 Hines Ward WR Steelers Peyton Manning QB Eli Manning 2007 Colts XLII 2008 QB Giants XLIII XLIV 2009 Santonio Holmes WR Steelers 2010 Drew Brees QB Saints YLV 2911 Aaron Rodgers OR Dackers
A C:\Users\wtmin\source\repos\StudentCPlus\Debug\StudentCPlus.exe
Menu options
1: Find MVP by year
2: Find MVP by team
3: Find MVP by position
4: Find MVP by name
5: List all MVP winners
6: EXIT
Enter number: 1
Enter year of Superbowl: 1992
Mark Rypien was MVP of Superbowl XXVI. He played for the Redskins.
Menu options
1: Find MVP by year
,2: Find MVP by team
3: Find MVP by position
4: Find MVP by name
5: List al1 MVP winners
6: EXIT
Enter number: 2
Enter team name: Eagles
The Eagles won Superbowl LII in 2018. The MVP was Nick Foles.
Menu options
1: Find MVP by year
2: Find MVP by team
3: Find MVP by position
4: Find MVP by name
5: List all1 MVP winners
6: EXIT
Enter number: 3
Enter position. Options are QB, WR, S, LB, RB, DL, DE, CB, KR : DL
The folowing Defensive Lineman(s) won MVP.
A Defensive Lineman (Randy White) was MVP of Superbowl XII in 1978.
Menu options
1: Find MVP by year
2: Find MVP by team
3: Find MVP by position
4: Find MVP by name
5: List al1 MVP winners
6: EXIT
Enter number: 4
Enter a player's last name: Riggins
John Riggins was MVP of Superbowl XVII in 1983.
Menu options
1: Find MVP by year
2: Find MVP by team
3: Find MVP by position
4: Find MVP by name
5: List al1 MVP winners
6: EXIT
Enter number:
Transcribed Image Text:A C:\Users\wtmin\source\repos\StudentCPlus\Debug\StudentCPlus.exe Menu options 1: Find MVP by year 2: Find MVP by team 3: Find MVP by position 4: Find MVP by name 5: List all MVP winners 6: EXIT Enter number: 1 Enter year of Superbowl: 1992 Mark Rypien was MVP of Superbowl XXVI. He played for the Redskins. Menu options 1: Find MVP by year ,2: Find MVP by team 3: Find MVP by position 4: Find MVP by name 5: List al1 MVP winners 6: EXIT Enter number: 2 Enter team name: Eagles The Eagles won Superbowl LII in 2018. The MVP was Nick Foles. Menu options 1: Find MVP by year 2: Find MVP by team 3: Find MVP by position 4: Find MVP by name 5: List all1 MVP winners 6: EXIT Enter number: 3 Enter position. Options are QB, WR, S, LB, RB, DL, DE, CB, KR : DL The folowing Defensive Lineman(s) won MVP. A Defensive Lineman (Randy White) was MVP of Superbowl XII in 1978. Menu options 1: Find MVP by year 2: Find MVP by team 3: Find MVP by position 4: Find MVP by name 5: List al1 MVP winners 6: EXIT Enter number: 4 Enter a player's last name: Riggins John Riggins was MVP of Superbowl XVII in 1983. Menu options 1: Find MVP by year 2: Find MVP by team 3: Find MVP by position 4: Find MVP by name 5: List al1 MVP winners 6: EXIT Enter number:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage