Hello,
I’m terribly new so sorry if I picked wrong format and you can let me know if I should ask questions next time differently.
The thing is that I seemed to write a code and it didn’t work, checked hints and it seems to be exactly as I have written it. Checked forums and found exactly the same codes that work, but mine for some reason don’t. I could copy other peoples code, but I want to learn for myself, why my code doesn’t work, am I missing something?
Thank you for your time in advance.
//Today’s forcast is 293 Kelvin.
const kelvin = 293;
//To get celcius, subract 273 from kelvin.
const celsius = kelvin - 273;
//Calculate fahreinheit you need formula.
let fahreinheit = celcius * (9/5) + 32;
//To round up number
fahreinheit = Math.floor(fahreinheit);
console.log(The temperature is ${fahreinheit} degrees Fahreinheit.
);
const newton = Celsius * (33/100);
newton = Math.floor(newton);
console.log(The temperature is ${newton} degrees Newton.
);