# A program to convert distances in kilometers to miles

def main():
    print("------------------------------------------------------")
    print("This program converts distances in kilometers to miles")
    print("------------------------------------------------------")

    kilometers = float(input("Enter a distance in kilometers: "))
    miles = kilometers * 0.62
    print("The entered distance equals", miles, "miles")
main()
