Professional Documents
Culture Documents
Implement Transpose of A Given Matrix Solution
Implement Transpose of A Given Matrix Solution
SOLUTION:
System.out.println("Transpose of a matrix");
for (int i=0;i<original.length;i++)
{ for(int p=0;p<original[i].length;p++)
{
transpose[i][p]=original[p][i];
System.out.println(transpose[i][p]);
}
}
}
}
2. Implement multiplication of two Matrix
SOLUTION:
}
}
3. Implement a program to generate random password based on
customer name, age and id for banking applications
SOLUTION:
import java.util.Scanner;
public class PASSWORDGENERATION {
}
System.out.println("Name " +name);
System.out.println("Age "+age);
System.out.println("id "+id);
System.out.println("Password is"
+finalstring); }