Passed test 1 toCelsius from exercise 07
This commit is contained in:
parent
4938e86830
commit
46732dbe89
|
@ -1,7 +1,9 @@
|
|||
const convertToCelsius = function() {
|
||||
const convertToCelsius = function(deg) {
|
||||
return (deg - 32) * (5/9);
|
||||
};
|
||||
|
||||
const convertToFahrenheit = function() {
|
||||
// x °C ≘ (x ×9/5+ 32) °F
|
||||
};
|
||||
|
||||
// Do not edit below this line
|
||||
|
|
Loading…
Reference in New Issue