Using the window shown in Figure 11.24 , write a temperature conversion program. To use this program,

Question:

Using the window shown in Figure 11.24, write a temperature conversion program. To use this program, the user selects an option, types a temperature into the appropriate text box, and clicks the "Convert" command button. The corresponding temperature then appears in the other text box. Clicking the "Done" button should end the program. Use the following formulas for the conversions:

● Convert Fahrenheit to Celsius: C = 5 * (F − 32) / 9

● Convert Celsius to Fahrenheit: F = 9 * C / 5 + 32

Temperature Conversion Convert Fahrenheit to Celsius C Convert Celsius to Fahrenheit Degrees Fahrenheit Degrees Celsius: Convert Done

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: