+ 1
Converting temperatures
i think im correct, but the calculations from (C) too (F) seem off, the numbers dont match my temperature sheet. ex: 10°C does not equal 129°F. Im tried this on my laptop https://code.sololearn.com/cWVhA83YT3Jd/?ref=app
7 Réponses
+ 6
c=(f-32)*(5.0/9.0)
f=c*(9.0/5.0)+32
+ 4
Yup formula error
+ 3
Okay, but it is celcius not celcious lol.
+ 3
10°C/5*9+32=50°F
+ 3
yes @vengat in cpp it must be write in floating values as 9.0 and 5.0
+ 1
lol thanks!