Question
The world outside of the United States has switched to Celsius. You are going to travel to England, where the temperature is given in Celsius.
The world outside of the United States has switched to Celsius. You are going to travel to England, where the temperature is given in Celsius. A friend said that a quick approximation of the Fahrenheit equivalent of a Celsius number is to take the number, double it, and add 32. Write a program that takes as input a temperature in Celsius and calculates both the approximated Fahrenheit equivalent and the actual Fahrenheit equivalent. Write out all three values. If the approximation and the actual value are within two degrees, write out Close enough. If they are not within two degrees, write out Will not do. Write the program as a Windows application with two buttons: one for entering data and one for quitting.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started