Java Program to Convert Miles to Kilometers
In this video, we will learn to code the Java Program to Convert Miles to Kilometers.
Lets understand more about Miles to Kilometers conversion & How to Convert Miles to Kilometers in Java Programming Language.
-----------------------------
What is Miles?
-----------------------------
A mile is also a unit of length but it is popular in the imperial and US customary systems of measurement. It is currently defined as 5,280 feet, 1,760 yards, or exactly 1609.344 meters i.e. 1.609344 Km. The symbol of a mile is mi.
----------------------------------
What is KIlometers?
----------------------------------
A Kilometer is a unit of length in the metric system, which is equal to one thousand meters. It is now the measurement unit used for expressing distances between geographical places on land in most of the world. The SI symbol of a Kilometer is Km.
1 Mile is exactly equal to 1609.344 meters which are when converted in kilometers is equal to 1.609344 Km.
Therefore,
---------------------------------------------------
1 Mile = 1.609344 Kilometers
---------------------------------------------------
Now, lets Start the Java Program to Convert Miles to Kilometers.
If you have any question, then comment in comment section.
Practices : Generate Multiplication Table
Thank You For Watching...
Join Telegram Channel
Source Code : https://t.me/mrtmentor