write a java program . Q)Define a class to store distance between to places in kilometers & meter format input distance using constructor
Answers
Answered by
1
Answer:
In this activity you will convert between metric units of length: kilometres, metres, centimetres, and millimetres.
- 1 km = 1000 m.
- 1 m = 100 cm.
- 1 m = 1000 mm.
- 1 cm = 10 mm.
Similar questions