💡 Conversion (Fahrenheit to Celsius)

no output error .

please copy your code at https://ide.codingblocks.com/ and save so we can figure out your issue.

https://ide.codingblocks.com/s/58987

@p45s99tik https://ide.codingblocks.com/s/58992 your are taking max value first so loop will not execute. and i commented your mistake

Why did you multiply and divide temp by 1000

@p45s99tik int take non decimal value
suppose
suppose temp is float value -0.017 then int will take 0
but if i multiply by 1000 then my temp*1000
-0.017 X 1000 = -17
so int can store -17.