Problem list
Log in
#r02982 · Online Judge > GoldOJ

Fahrenheit to Celsius

Bronze IV 1.0 s 256 MB

Given Fahrenheit temperature $F$, print $C = (F - 32) \times \tfrac{5}{9}$ rounded to two decimals.

Input

One real number $F$ ($0 \le F \le 100$).

Output

Print the Celsius temperature with two decimals.

Example 1

Input
32.0
Output
0.00
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code