C entrée utilisateur de flotteur de langue C
scanf("%f", &floatVariable); Output: printf("%f", floatVariable);
Cautious Cow
scanf("%f", &floatVariable); Output: printf("%f", floatVariable);
float: It is used to store decimal numbers (numbers with floating point value) with single precision. double: It is used to store decimal numbers (numbers with floating point value) with double precision.