0
How do i write a function named "convertFahrToCelsius" that takes a single parameter and converts it to celsius.
Javascript functions and return https://www.sololearn.com/discuss/2777531/?ref=app https://www.sololearn.com/discuss/2586654/?ref=app
7 Réponses
+ 2
Show your attempt please. Or do it all by your own.
+ 2
function convertFahrToCelsius(num){
const v = //here you go;
return v
}
+ 1
google for it, you should find easily the formula to use and even tons of implementations in all languages ^^
0
All you need to know:
C=(F-32)/1.8
0
You should specify v as:
const v = (num - 32) * 5/9;
- 1
Thanks guys,
- 1
JavaScript loop কত প্রকার।