rintf("Enter the coordinates of the second point (x1,y1): "); scanf("%f%f",&coordinate2[0],&coordinate2[1]);