Raghav Purankar
how to find inverse of n*n 2d array in java
0 Answer(s)      4 years ago
Posted in : Java Beginners

I reached upto code of printing the matrix as: Assume that matrix is square matrix where row=column code is: public class ReadContents{ public static void main(String args[]) System.out.println(); System.out.println("The matrix is :");

       for( k=0;k<row;k++)
      {
       for( p=0;p<row;p++)
    {

              System.out.printf("%2.2f  ",MAT[k][p]);
        }
System.out.println();
     }

Please help me to solve this .

Advertisement
View Answers