#include"stdio.h"#include"math.h"main(){intx1,x2,y1,y2;doubled;printf("输入第一组坐标,中间用空格:");scanf("%d%d",&x1,&y1);printf("输入第二组坐标,中间用空格:");scanf("%d%d",&x2,&y2);d=sqrt(pow(x2-x1,2)+pow(y1-y1,2));printf("距离.