0

/*fahr is the user input which then converts it to celc and vise versa. */

function convc(fahr){
        var m = fahr
        return (m-32) * (5/9)
    
};
function convf(celc){
    return (celc * 9/5) + 32;
};

const a = convf(50);
console.log(`${m} is ${a} degrees in celcius`)

0 Answers0