Convert Celsius to Fahrenheit

I’m really no idea for this challenge… my math so bad!! anybody pleassee…

Use the formula f=(9/5) *c + 32.
F=fahreinheit
c=celcius

1 Like

Where to put the code? sorry i’m trying it not working…

function convertToF(celsius) {
var fahrenheit;
// Only change code below this line

f=(9/5) *c + 32;
// Only change code above this line
return fahrenheit;
}

// Change the inputs below to test your code
convertToF(30);

1 Like

try declaring celsius ===> var = celsius;
and then doing the math behind it like this
fahrenheit = celsius * 9/5 + 32;

1 Like

Thank you very much olegarino… :slight_smile: i’ts works