C code to input a distance in meters and convert it into centimeters

/* C Code to convert Distance in meter to centimeter */

#include <stdio.h>
int main()
{
    float cm, m;
    printf("Enter distance in meters\n");
    scanf("%f",&m);
        cm = m * 100;
    printf("The distance in centimeters is : %f", cm);
    return 0;
}