Col Sum
Col Sum
column of two matrices is equal or not. Assume that the two matrices have the
same dimensions.
Example:
INPUT:
Example:
INPUT:
2 3 1
7 5 6
1 4 2
MATRIX A
7 4 2
1 3 1
2 5 6
MATRIX B
Specify the class Colsum giving details of the constructor, void readArray(),
boolean check(Colsum, Colsum), and void print(). Define the main() function to
create objects and call the functions accordingly to enable the task.