About 539,000 results
Open links in new tab
  1. Using Functions to Converting miles to kilometers [closed]

    Jan 18, 2020 · This function converts miles to kilometers (km). Complete the function by having it return the result, then call the function to convert 55 miles, and print "The distance in kilometers is " with the …

  2. python - Conversion of kilometers to miles - Stack Overflow

    This is a program that converts kilometers to miles however, every time I run it there is no line asking for an input, as it is supposed to, instead it is always blank. Here is the code:

  3. Python program, taking an input from the user, convert miles to …

    Apr 4, 2016 · Python program, taking an input from the user, convert miles to kilometers Asked 9 years, 8 months ago Modified 7 years, 4 months ago Viewed 12k times

  4. c++ - Should I write one method to convert distances or a bunch of ...

    Sep 10, 2009 · For example: inches -> centimeters, miles -> kilometers, etc... My problem is that I want to have one method called ConvertTo that will convert to any unit of measure.

  5. Convert Miles to Kilometers in a range given by the user and display ...

    Feb 11, 2014 · Convert Miles to Kilometers in a range given by the user and display them in a list Asked 11 years, 10 months ago Modified 9 years, 10 months ago Viewed 8k times

  6. winforms - How to convert lengths in C# - Stack Overflow

    Sep 19, 2011 · Miles to Kilometers 1 mile = 1.6093 kilometers Kilometers Miles 1 kilometer = 0.6214 miles Feet Meters 1 foot = 0.3048 meters Meters Feet 1 meter = 3.2808 feet Inches Centimeters 1 …

  7. Miles to Kilometers converter (event driven) - Stack Overflow

    Jul 25, 2013 · I need to create a JPanel that displays Miles and Kilometers. When you input numbers into one, it converts it to the other using the Enter key. I cannot figure out how to correctly get the …

  8. mongodb - Convert kilometers to radians - Stack Overflow

    I need to convert kilometers to radians. Is this correct formula? I need radians for nearsphere in MongoDB. If I need to convert 5 kilometers to radians I do this: 5/6371 And I get this result (d...

  9. c - Converting km to miles, feet, yards and inches (More detailed ...

    Mar 21, 2021 · When writing code to do conversions such as in your task, it is better to do all (internal) calculations in double precision and convert each component part of the result (to int) 'on the fly', …

  10. python - I been asked to write a program that prompts the user for a ...

    Oct 16, 2014 · print("%0.3f meters is equal to %0.3f miles" %(meters, miles)) So my question is how proceed to continue to convert to feet and inches if this is correct to convert to miles.