Fahrenheit to Celsius
Different countries prefer different temperature measurements. Two of the most popular measures are Celsius and Fahrenheit. To convert Fahrenheit to Celsius one can use the following formula:
You are asked to write a program to automate the process of converting from Fahrenheit to Celsius.
The program should receive a single input - Fahrenheit (a floating-point number). And should print the resulting Celsius in the output.
Input | Output |
32 | 0 |
100 | 37.7778 |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB