Normally I would use something like this:
double value;
if (scanf("%lf", &value) == 1)
printf("It's float: %f\n", value);
else
printf("It's NOT float ... \n");
But this time I need to read two numbers at once
scanf("%lf %lf", &x, &y);
How do I check that?