Back to task list
There are two widespread systems of measuring temperature - Celsius and Fahrenheit.
By Celsius water freezes at 0 degrees and boils at 100 degrees. By Fahrenheit water freezes at 32 degrees and boils at 212 degrees. More details could be found at wikipedia on Fahrenheit.
You are to write program to convert degrees of Fahrenheit to Celsius. Data are given
in the following format:
first goes the number of values to convert (let it be N),
then there go values itself (N values at all).
You are to calculate N results, rounded to nearest integer and separated by spaces.
data: 5 495 353 168 -39 22 answer: 257 178 76 -39 6