5/5 – (1 vote)
Write a C# program named InchesToCentimeters that declares a named constant that holds the number of centimeters in an inch: 2.54. Also declare a variable to represent a measurement in inches, and assign a value.
1. Display the measurement in both inches and centimeters for example, 3 inches is 7.62 centimeters.
2.Make sure to Declare and initialize number of inches to
Reviews
There are no reviews yet.