#PCBBAY0000047. Độ C sang độ F (Celsius to Fahrenheit)
Độ C sang độ F (Celsius to Fahrenheit)
Celsius to Fahrenheit
Version: Phuoc Hung OJ Extended
Problem Statement
Given a temperature on the Celsius scale, convert it to Fahrenheit using . Print exactly 2 decimal places.
Input
The only line contains real temperature measured in degrees Celsius.
Output
Print the Fahrenheit temperature with exactly 2 decimal places.
Subtasks
- Subtask 1 (100 points): .
Examples
Example 1
Input
0
Output
32.00
Explanation. Substituting 0 into c × 9 / 5 + 32 gives approximately 32. The required output formatting produces 32.00.
Example 2
Input
100
Output
212.00
Explanation. Substituting 100 into c × 9 / 5 + 32 gives approximately 212. The required output formatting produces 212.00.
Example 3
Input
-40
Output
-40.00
Explanation. Substituting -40 into c × 9 / 5 + 32 gives approximately -40. The required output formatting produces -40.00.