Problem1574--C Programming Practicals 4 Switch -6

1574: C Programming Practicals 4 Switch -6

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 567  Solved: 157
[Submit] [Status] [Web Board] [Creator:]

Description

Input two matrices then check whether they are the same.

Input

Enter the number of rows and columns of the matrix A 1 2 Enter the number of rows and columns of the matrix B 1 2 Enter the elements of matrix A 1 2 Enter the elements of matrix B 1 2

Output

show two matrices, show

Sample Input Copy

1
2
1
2
1
2
1
2

Sample Output Copy

MATRIX A is
  1  2
MATRIX B is
  1  2
Two matrices have the same dimension, they can be compared
Two matrices are equal

Source/Category

121