Convert Celsius to Fahrenheit

Convert Celsius to Fahrenheit
0

#1

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


#2

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


#3

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


#4

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);


#5

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


#6

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