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

19th May 2021, 3:52 PM
Eberechi Nwankudu
Eberechi Nwankudu - avatar
7 Respuestas
+ 2
Show your attempt please. Or do it all by your own.
19th May 2021, 3:53 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
+ 2
function convertFahrToCelsius(num){ const v = //here you go; return v }
19th May 2021, 3:55 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 1
google for it, you should find easily the formula to use and even tons of implementations in all languages ^^
19th May 2021, 3:59 PM
visph
visph - avatar
0
All you need to know: C=(F-32)/1.8
19th May 2021, 4:00 PM
Michal Doruch
0
You should specify v as: const v = (num - 32) * 5/9;
19th May 2021, 4:02 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
- 1
Thanks guys,
19th May 2021, 4:03 PM
Eberechi Nwankudu
Eberechi Nwankudu - avatar
- 1
JavaScript loop কত প্রকার।
21st May 2021, 9:19 AM
Shahriar kobir153