Question: Write a distance-conversion program that gives the user the option of converting mile to Km or Km to mile. Then carry out the conversion.
Write a distance-conversion program that gives the user the option of converting mile to Km or Km to mile. Then carry out the conversion. Use floating point values. Interaction with the program might look like this: (CLO-1) (marks: 05) Type I to convert mile to Km, 2 to convert Km to mile: 1 Enter distance in mile: 123 In Km that's = 196.8
Step by Step Solution
3.51 Rating (148 Votes )
There are 3 Steps involved in it
def distanceconverter Converts distances between miles and kilometer... View full answer
Get step-by-step solutions from verified subject matter experts
