1 kilometer=100,000 centimeters
520 cm
#include <iostream> using namespace std; int main() { double meter, cent; cout<<"Enter value in meters"; cin>>meter; cent=meter*100; cout<<meter<<" meters"<<" = "<<cent<<" centimeters; system("pause"); return 0; } to convert more than one number put the whole program in a for loop