I am taking a Visual Basic .NET in class this semester and up to this point everything has seem to be going smoothly! Yesterday, I received my assignment, I read through the chapter and thought I could handle this assignment. Well I was wrong and cannot understand it at all....This particular assignment is a freebie....do it so I can get the real assignment....don't even have to hand it in but if I dont understand it my next assignment really will not make any sense at all. So I need some help!! I've done the simple part of creating the form....no code though....I do not understand the constant...vaiables....so if anyone could write the code and send it to me in a notepad or word file
English to Metric Conversion Design and develop a project to convert an English measurement in miles, yards, feet, and inches to a metric measurement in kilometers, meters, and centimeters. Use the following formula to change the English measurement to inches: Total Inches = 63,360 x Miles + 36 X Yards + 12 X Feet + Inches Use the following formula to determine the equivalent meters: Meters = Total Inches / 39.37 Declare constants for all numeric values in the two formulas above. The variable used to represent the number of meters and the numeric constant 39.37 must be declared as the data type Double. The constants and data types in the first formula should be declared as integers. Convert the Total Inches in the second formula to a Double data type before using it in the calculation. Set Option Strict to On in your code. (Hint: After the number of meters has been determined, the maximum number of kilometers can be computed from: Kilometers = Meters\ 1,000. Next, the remaining meters can be determined from: Remaining Meters = Meters -1,000 * Kilometers. The number of integer meters in Remaining Meters then can be determined from: Integer Meters = Convert.ToInt32(Remaining Meters). Continue with the same technique to compute the number of centimeters.) Use the following test data to test your program: 2 miles, 5 yards, 2 feet, and 7 inches. The result should be 3 kilometers, 224 meters, and 5.38 centimeters.
