题目描述
Input a Fahrenheit temperature and output the Celsius temperature.
The formula for c = 5 (F-32) / 9 .
Output requires a text description, taking 2 decimal places.
输入
One Fahrenheit temperature, floating point number.
输出
Celsius temperature, floating point two decimals
样例输入 Copy
-40
样例输出 Copy
c=-40.00
a=int(input())
b=5*(a-32)/9
print('c=%.2f'%b)