Posts

ALL MATRICES PROGRAMS IN JAVA

Image
          ALL MATRICES PROGRAMS IN JAVA SHOWING ELEMENTS OF MATRIX :   import java.util.Scanner;     public class ShowMatrix {       public static void main(String[] args ) {        // TODO Auto-generated method stub        int [][] a = new int [3][3];        int i , j ;        Scanner sc = new Scanner(System. in );        System. out .println( "Enter values of matrix" );        for ( i =0; i <3; i ++)        {            for ( j =0; j <3; j ++)            {               a [ i ][ j ] = sc .nextInt(); ...