Program to Convert Centi-Meter to Meter

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("Length Converter");
printf("\n You Can Convert Centi-Meter to Meter here");
printf("Enter Length in Centi-meters");
scanf("%d",&a);
b=a/100;
printf("Result is%d",b);
getch();
}

Leave a Reply