class transpose
{
public static void main (String[] args) throws Exception
{
BufferedReader input = new BufferedReader( new InputStreamReader (System.in));
System.out.print("masukan jumlah ordo matriks n*n =");
int n=Integer.parseInt(input.readLine());
int [][] matrika = new int [n][n];
int [][] matrikc = new int [n][n];
System.out.println("Matriks A:");
for(int i=0;i
}
}
System.out.print(" system.out.print(matrika[i][j]+="" matriks="" transpose="" a="" i="0;i<n;i++)" for(int="" j="0;j<n;j++)" {="" matrikc[i][j]="matrika[j][i];" system.out.print(matrikc[i][j]+="" system.out.println(="" |="" system.out.print(="" \n="" );="" }="">
Tidak ada komentar:
Posting Komentar