question 26 Operators & Expressions · medium
A temperature conversion gone wrong
A weather app converts Fahrenheit to Celsius: subtract 32, then multiply by 5 and divide by 9. For 212 °F it should print 100.0, but it prints something near 194. Fix the calculation.
Keep
fahrenheit = 212 as the first line. Check runs your program again with other temperaturesPrints
Celsius: 100.0Expected output1 line
- 1Celsius: 100.0