Read user input: float
#include <stdio.h> void main() { float diameter = 0.0f; /* The diameter of the table */ printf("Input the diameter of the table:"); scanf("%f", &diameter); /* Read the diameter from the keyboard */ printf("\nThe input is %f\n", diameter); }