Converting centimeter into meter and kilometer
meter = cm / 100.0 ; kilometer = cm / 100000.0 ; Console . WriteLine ( " Length ▁ in ▁ " + " meter ▁ = ▁ " + meter + " m " ) ; Console . WriteLine ( " Length ▁ in ▁ " + " Kilometer ▁ = ▁ " + kilometer + " km " ) ; } }