Jak przyjmować dane wejściowe w jednej linii w C

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