Use a 2D array to create a baseball scoreboard - 2 teams, 9 innings. We will update the scoreboard at the
end of each half-inning. Use console I/O, and following is a sample run of the program:
How many runs did the visiting team score in inning #1: 0
How many runs did the home team score in inning #1: 0
How many runs did the visiting team score in inning #2: 0
How many runs did the home team score in inning #2: 0
How many runs did the visiting team score in inning #3: 1
How many runs did the home team score in inning #3: 0
How many runs did the visiting team score in inning #4: 0
How many runs did the home team score in inning #4: 2
How many runs did the visiting team score in inning #5: 0
How many runs did the home team score in inning #5: 0
How many runs did the visiting team score in inning #6: 0
How many runs did the home team score in inning #6: 1
How many runs did the visiting team score in inning #7: 2
How many runs did the home team score in inning #7: 0
How many runs did the visiting team score in inning #8: 0
How many runs did the home team score in inning #8: 2
How many runs did the visiting team score in inning #9: 0
How many runs did the home team score in inning #9: 0
Game's over, here's our scoreboard:
Inning: 123456789
Visitors: 0010002003
Home: 0002010205
Home Team Wins!!!