Question: Write a C# program named MilesToKilometers that declares a named constant that holds the number of kilometers in a mile: 1.6. Also declare a variable
Write a C# program named MilesToKilometers that declares a named constant that holds the number of kilometers in a mile: 1.6. Also declare a variable to represent a distance in miles, and assign a value. Display the distance in both miles and kilometers for example, 3 miles is 4.8 kilometers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
