Write a java code that will add two matrices of same order ( say 3X4 ).
Note a matrix is just a 2D array of numbers. So if the matrix is 3X4 then it has 3 rows and 4 columns. The result of adding two matrics is a matrix of the same order and the elements of the resultant matrix are found by adding corresponding elements of the matrices.
Tuesday, October 12, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment