1288: Temperature Conversion

时间限制: C/C++ 1 s      Java/Python 3 s      内存限制: 128 MB      答案正确: 12 / 13     

题目描述

A friend of yours is going to Spain, where temperatures are reported using the Celsius temperature scale.

She has asked you to provide her with a list of temperatures in degrees Fahrenheit, and the equivalent temperature in degrees Celsius.

The formula relating the two temperatures is Celsius = 5/9(Fahrenheit − 32).

Initially, you are to write and test a program that correctly converts the Fahrenheit temperature that you enter into its Celsius equivalent.

输入

Enter the temperature in degree Fahrenheit

输出

Output  the equivalent temperature in degrees Celsius

样例输入

75

样例输出

the Celsius equivalent of 75.00 degree Fahrenheit
is 23.89 degree

提示

来源

标签


提交代码






© 2012-2022 JustOJ 中文  English  | l.jiang.1024@gmail.com | System Info