File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
exercises/concept/temperature/.docs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
33## Convert Farenheit to Celsius
44
5- - Temperature in degrees Celsius is defined as: T(°F ) = T(°C) × 1.8 + 32
5+ - Temperature in degrees Celsius is defined as: T(°C ) = ( T(°F) - 32) / 1.8
66- The temperature in Farenheit is provided as an ` Integer ` and must return Celsius as a ` Float ` .
77 The ` fromInteger ` function will come in handy.
88
99## Convert Celsius to Farenheit
1010
11- - Temperature in degrees Fahrenheit is defined as: T(°C ) = ( T(°F) - 32) / 1.8
11+ - Temperature in degrees Fahrenheit is defined as: T(°F ) = T(°C) × 1.8 + 32
1212- The temperature in Celcius is provided as a ` Float ` and must return Farenheit rounded up to the closest ` Integer ` .
1313 The ` ceiling ` function will come in handy.
You can’t perform that action at this time.
0 commit comments