Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Celsius to fahrenheit in Javascript

function celsiusToFahrenheit(clesius) {
    var fahrenheit = clesius * 9 / 5 + 32;
    return fahrenheit;
}
console.log(celsiusToFahrenheit(4))
//Output: 39.2
 
PREVIOUS NEXT
Tagged: #Celsius #fahrenheit #Javascript
ADD COMMENT
Topic
Name
9+1 =