Commit 8218980
committed
feat: add NestedLoop2DArrayTraversal to demonstrate 2D array population and iteration
Implemented NestedLoop2DArrayTraversal.java to showcase filling a 3x5 matrix
with sequential values using nested loops and printing each element with its
row and column indices. Highlights basic 2D array traversal and indexing logic.
Signed-off-by: https://github.com/Someshdiwan <[email protected]>1 parent e78d22b commit 8218980
File tree
1 file changed
+20
-0
lines changed- Section9ArrayAB/Array 2.0/src
1 file changed
+20
-0
lines changedLines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments