Question: Exercise 6 : Miles to Kilometers You are making plans to visit Quebec and need to figure out how many Kilometers you need to travel.

Exercise 6: Miles to Kilometers
You are making plans to visit Quebec and need to figure out how many
Kilometers you need to travel.
Create a program that will ask the user for the number of miles they
need to travel. The program will then convert those miles to kilometers.
There are 1.609344 miles to every kilometer. The program needs to
output the number of kilometers.
The input prompt for this program is pretty simple. It is:
Where the two underscores represent blank spaces
The output is also very simple:
Where the two underscores represent blank spaces
When running, using 15 for miles your program will look like the
following:
Miles: 15
Kilometers: 24.14016
Your program will run twice. The first test will use 15 for miles. The
second test will use different data.
 Exercise 6: Miles to Kilometers You are making plans to visit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!