Docoding OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
1043: C++语言 华摄氏温度 4.9
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:121
Solved:73
Submit
Submit Record
Statistics
ShowOff!
Description
输入一个华氏温度,要求输出摄氏温度。公式为 c=5(F-32)/9 输出要求有文字说明,取位2小数。
Input
一个华氏温度,浮点数
Output
摄氏温度,浮点两位小数
Sample Input
Copy
-40
Sample Output
Copy
c=-40.00
HINT
零下40度,可以不问是?氏
Source/Category
c++
基础
入门
浮点
Submit
Submit Record
Statistics
ShowOff!