open_in_new
content_copy
const cToF = (celsius) => celsius * 9/5 + 32; const fToC = (fahrenheit) => (fahrenheit - 32) * 5/9;