Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions