Question: Create a Java or Python program that simulate a distance convertor which allows conversion from kilometers to miles and from miles to kilometers. The formula
Create a Java or Python program that simulate a distance convertor which allows conversion from kilometers to miles and from miles to kilometers.
The formula is:
km
Description:
The program asks the user to enter hisher name then repeatedly displays the menu as shown below:
Choice : Convert Miles to Kilometers
Choice : Convert Kilometers to Miles
Choice : Exit the Program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
