Task 4 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 — print grid

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

Fill in printGrid so that it prints each row on its own line, with the values separated by a single space and a trailing space after each value.

1 2 
3 4 
Your solution