C program to convert meter in to centimeter
             In this program, the user can enter the length in meter, and then program convert
it into centimeter.
                                                                           
 
            
                                    
#include<stdio.h>
#include<conio.h>
void
main ()
{
float
metre,cm;
clrscr();
printf("Enter the length in meter : ");
scanf("%f",&metre);
cm=metre*100;
printf("Entered
Length in cm: %f\n",cm);
getch();
}
===========================
OUTPUT:-
Enter the length in meter: 4
Entered
Length in cm: 400.000000                                                      
===========================   
Comments
Post a Comment