Task 2 of 9 · 0 solved · 9 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

5.4 2D arrays — element at [r][c]

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in getElement so that it returns the value at the given row and column of the grid.

The program prints 6 — row 1, column 2.

Your solution