Professional Documents
Culture Documents
Q1. WAP which gives the sum of two matrices entered by user.
Q2. WAP which displays the product matrix C as C = A * B
Q3. WAP which gives the maximum/ minimum value entered in an array.
Q4. WAP which will sort the array entered by the user.( ascending /descending ).
Q5. WAP to print or access the diagonal element of the matrix (two dimensional array in
java)
Q6. WAP that also calculate the sum of diagonal element of matrix..
Q7. WAP print the stars per line equal to the array element per index let’s suppose an
array named x having 3 element