convert temperature f to c code example Example: c to f let f = c * (9/5) + 32; let c = (f - 32) * (5/9);