Skip to content

Instantly share code, notes, and snippets.

@codecademydev

codecademydev/app.js Secret

Created Feb 4, 2021
Embed
What would you like to do?
Codecademy export
let Kelvin = 1000;
Kelvin -= 273;
let celsius = Kelvin;
let fahrenheit = celsius*(9/5) + 32
fahrenheit = Math.floor(fahrenheit);
console.log(`The temperature is
${fahrenheit}
degrees
Fahrenheight.`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment