Question: In java please, Create a program called FootballScore that allows the user to record the scores for each team for each quarter of a football

In java please,

In java please, Create a program called FootballScore that allows the user

Create a program called FootballScore that allows the user to record the scores for each team for each quarter of a football game. The program should include a one-dimensional array that will hold the team names, and a two-dimensional array with two rows and four columns that will contain the number of points scored by each team in each of the 4 quarters. Use the arrays in parallel to match up team names with team scores, i.e., the first team in the team array will have its quarterly points in the first row of the points array. When the program is run, the user will input the team names and their scores for each quarter of the game. The program will then call a separate method called outputResults that accepts the two arrays as parameters and outputs the final game scores in appropriately aligned columns (see sample run below). Sample run: Enter the name of the 1st team: Ravens Enter the name of the 2nd team: Steelers Enter the 1st quarter points for the Ravens: 14 Enter the 1st quarter points for the Steelers: e Enter the 2nd quarter points for the Ravens: 21 Enter the 2nd quarter points for the Steelers: 0 Enter the 3rd quarter points for the Ravens: a Enter the 3rd quarter points for the Steelers: e Enter the 4th quarter points for the Ravens: 10 Enter the 4th quarter points for the Steelers: a Game Summary Ravens: 14 21 3 10 Steelers: 0 0 Ravens: 48 Steelers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!