Question: WE ARE USING VARIABLES AND TRYPARSE METHOD ON VISUAL BASIC 2015 NO VAL METHOD Place the contents of a textbox named txtFahrenheit into a decimal

WE ARE USING VARIABLES AND TRYPARSE METHOD ON VISUAL BASIC 2015 NO VAL METHOD

Place the contents of a textbox named txtFahrenheit into a decimal variable called decTemperature. Then subtract 32 from this number and place the answer in a decimal variable named decCelsius. Then multiply decCelsius by 5 and divide it by 9; store the answer in decCelsius. Make the label lblTemperature display the result. (decCelsius and decTemperature have already been declared, so you do not need to declare them.)

This is what I have: Decimal.TryParse (txtCelsius.Text.decCesius)

Decimal.TryParse (txtTemperature..Text.decTemperature)

decCelsius = (decTempture - 32) * 5/9

lblTemperature.Text = decCelsius.ToString

Am I missing something or am I wrong?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!