#include <stdio.h>
#include <math.h>
int main() {
int q[10][10],w[10][10],i,j,r1,r2,c1,c2;
    printf("Enter the no.fo.rows and column for the first matrix: ");scanf("%d %d\n",&r1,&c1);
    printf("%d %d",r1,c1);
    printf("\nEnter the no.fo.rows and column for the second matrix: ");scanf("%d %d\n",&r2,&c2);
    printf("%d %d",r2,c2);
    if(r1==c2 || r2==c1)
    {
        for(i=o;i<r1;i++)
        {
            
        }
     }else{
         printf("\nmt");
     }
}