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 : 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 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 for miles your program will look like the
following:
Miles:
Kilometers:
Your program will run twice. The first test will use for miles. The
second test will use different data.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
