Question: Write a program A-2) Write a program that reads the distance between two cities in kilometers. Then, the program calculates and prints the distance between
A-2) Write a program that reads the distance between two cities in kilometers. Then, the program calculates and prints the distance between the two cities in meters. Also, the program calculates and prints the distance between two cities in miles. The following are the required equations, where k is the distance in kilometers: Meters = 1000* k Miles = k/1.6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
