12874 - Temperature Conversion
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
Description
Write a program that converts temperatures from the Celsius scale to the Fahrenheit scale.
- Note that (Fahrenheit) = 9/5*Celsius+ 32
- Use float or double and beware of the integer division problem.
- Use %lf for double in scanf().
Input
37
Output
98.600000
Tags