-->
当前位置:首页 > 题库 > 正文内容

PROGRAMMING:Centigrade to Fahrenheit

Luz4年前 (2021-05-10)题库558
There are different systems for temperature characterization. The freezing point and boiling point of water at 1 ℃ are 0 ℃ and 100 ℃, respectively. The freezing point of water is 32 degrees and the boiling point is 212 degrees at 1 standard atmospheric pressure.
According to the definition of Fahrenheit and centigrade temperature, the conversion formula is as follows:
* C = ( F – 32 ) / 1.8
* F = C * 1.8 + 32
###Input format:
A number without a decimal point indicates the temperature in centigrade.
###Output format:
A number for Fahrenheit. Please directly use print() to output the calculation results, without processing the output format.
###Input example:
```in
thirty-six
```
###Output example:
```out
ninety-six point eight
```







answer:If there is no answer, please comment

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。