Question: Programming Exercise 2-3 0 Instructions InchesToCentimeters... +. 1 using static System.Console; 2 class InchesToCentimeters Interactive static void Main() Convert the InchesToCentimeters program to an interactive

Programming Exercise 2-3 0 Instructions InchesToCentimeters... +. 1 using static System.Console; 2 class InchesToCentimeters Interactive static void Main() Convert the InchesToCentimeters program to an interactive application named InchesToCentimetersInteracti m 6000 const double CENTIMETERS_PER_INCH = 2.54; ve. double inches = 3; double centimeter; centimeter = inch*Centimeter InInch; WriteLine("{0} inches is {1} centimeters", inches, inches * CENTIMETERS_PER_INCH); Instead of assigning a value to the inches variable, accept the value from the user as input. 11 Display the measurement in both inches and centimeters -for example, if inches is input as 3, the output should be: 3 inches is 7.62 centimeters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
