int main(){
    double N = 0;
    char unit[10];
    printf("Insert float > ");
    scanf("%f%s",&N,unit);
    printf("\n\n%f\n\n",N);
}
So in the terminal:
Insert float > 0.2hz
output:
0.000000hz
How could I save in N value the correct 0.2 value?
