Convert Length cm to meter.
#include<stdio.h>
#include<conio.h>
void main()
{
int length;
int mt,cm;
clrscr();
printf("\nEnter Total Length in Cms : ");
scanf("%d",&length);
mt= length/100;
cm= length % 100;
printf("\n Your Answer : Meter %d and Cm %d",mt,cm);
getch();
}
OUTPUT
