Professional Documents
Culture Documents
Assignment 3
Assignment 3
import java.util.Scanner;
}
}
transpose(A, B, N, M);
import java.util.Scanner;
if (column1 == row2) {
System.out.println("Output matrix=");
for (i = 0; i < row1; i++)
}
res[i][j] = sum;
}
for (i = 0; i < row1; i++) {
for (j = 0; j < column2; j++)
System.out.print(res[i][j] + " ");
System.out.println();
}
} else
System.out.print("multipication does not exist ");
sc.close();
password[1] = age.charAt(random.nextInt(age.length()));
password[0] = name.charAt(random.nextInt(name.length()));
password[2] = id.charAt(random.nextInt(id.length()));