i need a little help in regards to this code.
How does the result get to 32 and 392. what is the magic behind this
// Write a function called convertToFahrenheit which takes a single
// parameter which is the temperature in degrees Celsius. The function
// should return the corresponding temperature in degrees Fahrenheit.
// Write your code here
…
…
let freezing = convertToFahrenheit(0);
console.log(freezing); // should print 32
let ovenTemp = convertToFahrenheit(200);
console.log(ovenTemp); // should print 392
When i run it on vscode it arrives at 32 and 200. Notice how the function in freezing is (0) and the function in ovenTemp is (200) after running the code it arrives at 32 for freezing and 392 as ovenTemp
sorry i went offline. when i convert the opposite (Celsius to Fahrenheit) the result is 32. what calculation are we doing to get 392 using the celsius to fahrenheit result
have pasted the function, can you pls help check it out. if we using the celsius to fahrenheit conversion, how do we arrive at 392 given the result of celsius to fahrenheit is 32