write a program to create a square matrix and print the original and transpose of the matrix
Answers
Answered by
1
Answer:
Java Program to display transpose matrix
public class MatrixTransposeExample2{
public static void main(String args[]){
//creating a matrix.
int original[][]={{1,3,4},{2,4,3},{3,4,5}};
System.out.println("Printing Matrix without transpose:");
for(int i=0;i<3;i++){
for(int j=0;j<3;j++){
Explanation:
Mark as brainliest
Similar questions
Computer Science,
1 month ago
Science,
1 month ago
Math,
2 months ago
Psychology,
2 months ago
Hindi,
8 months ago
Math,
8 months ago
Biology,
8 months ago