#include<stdio.h> float a; double b;
To scan a double value, %lf is used as format specifier.
Therefore, the answer is scanf("%f %lf", &a, &b);
Comments