C program to convert meter to centimeter

C Program convert meters in to centimeters. Take meter as input ?

Sol.
Cheat code: 1 meter = 100 centimeter.
#include<stdio.h>  
int main()   
{  
float meter, centimeter;  
printf(“Enter any number in meter n”);
scanf(“%f”, & meter);
centimeter = 100 * meter;
printf (“Value in centimeter is: %f n”, centimeter);   
return 0;  
}  
Output: