diff --git a/07_tempConversion/tempConversion.js b/07_tempConversion/tempConversion.js index 14153e0a6b1..bccda3eed23 100644 --- a/07_tempConversion/tempConversion.js +++ b/07_tempConversion/tempConversion.js @@ -1,7 +1,17 @@ -const convertToCelsius = function() { +const convertToCelsius = function(fahre) { + +let convert = ((fahre - 32) * 5/9); + +return convert.toFixed(1) + }; -const convertToFahrenheit = function() { +const convertToFahrenheit = function(celsius) { + +let convert = ((celsius - 32) * 9 / 5); + +return convert.toFixed(1); + }; // Do not edit below this line