Write a program in C++ to enter length in centimeter and convert it into meter and kilometer
#include<iostream>
using namespace std;
int main()
{
float c,m,km;
cout<<"Enter the length in Centimetre :";
cin>>c;
m=c/100;
km=c/100000;
cout<<"The distance in Metre is = "<<m<<endl;
cout<<"The distance in Kilometre is = "<<km<<endl;