The "Number of Goals" problem on Hackerrank involves calculating the total number of goals scored by two football teams given their scores in multiple matches.
The "Number of Goals" problem on Hackerrank requires the programmer to read in a set of input values representing the scores of two football teams in multiple matches. The program must then calculate the total number of goals scored by each team and print out the result. The input values are given in the form of a two-dimensional array, where each row represents the scores of a single match. The program must loop through the array, summing up the scores for each team, and then print out the totals. This problem requires a good understanding of array manipulation and looping, as well as basic arithmetic operations. The solution will likely involve nested loops and conditional statements to accurately calculate the total number of goals scored by each team.
Learn more about Hackerrank here: brainly.com/question/30410231
#SPJ11