Hi all¡¡ I have defined a very simple function that transfer fahrenheit to celsius and I want to introduce as a variable the Fharenheit and return Celsius. I would like to print the value of the Celsius but i cant undestand why i get 0 value…does someone knows where is the error? Thanks in advanced¡¡
I think you need to be sure that all your values are float numbers. Without .0 they are consider as int and thus you have troubles with your divisions.