Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1234--计算摄氏温度
1234: 计算摄氏温度
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
0
Solved:
1
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
给定一个华氏温度F,本题要求编写程序,计算对应的摄氏温度C。计算公式:C=5×(F−32)/9。题目保证输入与输出均在整型范围内。
Input
输入在一行中给出一个华氏温度。
Output
输入在一行中给出一个华氏温度。
Sample Input
Copy
150
Sample Output
Copy
Celsius = 65
Source/Category