Write a program that converts degrees from Fahrenheit to Celsius, using the formula DegreesC = 5(DegreesF 32)/9
Question:
Write a program that converts degrees from Fahrenheit to Celsius, using the formula
DegreesC = 5(DegreesF −32)/9
Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. Then have the program display the equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be Enter a temperature in degrees Fahrenheit: 72
72 degrees Fahrenheit is 22.2 degrees Celsius.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Question Posted: