0

just plz 1) correct my faults and help me 2) on freazing the command by:getch(0) 3) where to put it and the include<conio.h>,plz i have a test tomorow on devcpp compiler:

```
#include<stdio.h>
void fill-mat(int x[10][10],n)
{
for(int i=0;i<n;i++)
for(int j=0;j<n;i++)
scanf("%d",&x[j]);
}
void print-mat(int x[10][10],n)
{
for(int i=0;i<n;i++)
for(int j=0;j<n;j++)
printf("%d",&x[j]);
}
void sort(int x[10][10])
{
int i,j,k,min;
for(i=0;i<n;i++)
for(j=0;j<n;j++)
{
min=x[j];
for(k=j+1;k<n;k++)
if(x[k]<min)
x[j]=x[k];
x[k]=min;
min=x[j];
}
}
int check(int a[10][10],int b[10][10])
{
int i,check=1;
for(i=0;i<n;i++)
for(j=0;j<n;j++)
if(a[j]!=b[j])
{
check=0;
break;
}
return check;
}
void main ()
{
int a[10][10],b[10][10],n;
scanf("%d",&n);
fill-mat(a);
fill-mat(b);
sort(a);
sort(b);
print-mat(a);
print-mat(b);
if(check(a,b)==1)
printf("indentical"); else printf("unindentical");
}
```

*Edited 3 Years Ago by happygeek*: fixed formatting