How to input and output floating point numbers in C language?

https://‮l.www‬autturi.com
How to input and output floating point numbers in C language?

The float format is:% f
The format of integer int is:% d
Long number format :%ld
Long unsigned number format is:% lu

/*
float datatype input and output example  
*/

#include <stdio.h>
#include <stdlib.h>

int main()
{
     scanf("%f", &floatVariable); 
     printf("What you entered is: %f", floatVariable);
    return 0;
}
Created Time:2017-08-28 18:53:13  Author:lautturi