Converting centimeter into meter and kilometer
meter = cm / 100.0 ; kilometer = cm / 100000.0 ; cout << " Length ▁ in ▁ meter ▁ = ▁ " << meter << " m " << " STRNEWLINE " ; cout << " Length ▁ in ▁ Kilometer ▁ = ▁ " << kilometer << " km " << " STRNEWLINE " ; return 0 ; }