为什么我运行这个程序,再输入数据回车后程序没有输出就结束了?😕😿我刚学 C,好迷茫😭
int main(){
int x_a,x_b,x_c;
int y_a,y_b,y_c;
int n;
scanf("%d %d %d %d %d %d",&x_a,&y_a,&x_b,&y_b,&x_c,&y_c);
int m1,m2,m3,n1,n2,n3;
m1 = abs((x_b - x_a)) + abs((y_b - y_a));
m2 = abs(x_b - x_c) + abs(y_b - y_c);
m3 = abs(x_c - x_a) + abs(y_c - y_a);
n1 = abs(x_b - x_a);
n2 = abs(x_b - x_c);
n3 = abs(x_c - x_a);
printf("%d",m1);
return 0;
}
```