Solution :
//Program heading
Display "Kilometers to
and
to Kilometers Conversion Program"
//Get
Display "Enter the
: "
Input
//Convert
to kilometers and display result
converted_km =
x 1.609
Display "Converted kilometers = " + converted_km
//Get Kilometers
Display "Enter the kilometers: "
Input km
//Convert kilometers to
and display result
converted_
= km x 0.6214
Display "Converted
= " + converted_
//Thank the user for using this program
Display "Thank you for using this program. Good-bye!"
Stop
Sample Output:
Kilometers to
and
to Kilometers Conversion Program
Enter the
: 10
Converted kilometers = 16.09
Enter the kilometers: 10
Converted
= 6.214
Thank you for using this program. Good-bye!