Two-dimensional array reading is explained with the help of one program in the Java environment and accessing is explained with the help of two programs. One is finding maximum and minimum elements in the array, and the second one is displaying the array with row and column sum.
Link to the Book - Essentials of Computer Applications:
https://www.amazon.in/Essentials-Comp...
Practice Exercise
1. Read a 3x3 array, store sum in the fourth row and 4th column and display along with the row average and column average.
English Math Sci Student Sum Student Avg
Student 1: 1 2 3 6 2.0
Student 2: 4 5 6 15 5.0
Student 3: 7 8 9 24 8.0
Subject sum 12 15 18
Subject Avg 4.0 5.0 6.0