Your problem has to do with the rules of promotion of types, specifically when integers are promoted to a floating point type.
C = (5/9)*(F - 32);
In the above expression, you'd like 5/9 to result in the number 0.55555555..., but it actually results in 0. This is because in the expression (5/9), no promotion of the 5 or 9 occurs, so integer division is performed, and the result is 0. What you need to do is change the expression so a floating point calculation is performed. The easiest way to do this is change the 5 or 9 or both to a floating point type. Then, the other argument will be promoted to a floating point type, and the calculation will be performed as a floating point divide. Simplest solution:
C = (5./9)*(F - 32);
The simple addition of a decimal point causes the 5 to become a double, rather than an int, and that then causes the 9 to be promoted to a floating point double, and floating point division is performed.
Another thing you could do is rearrange the expression:
C = (5 * (F - 32)) / 9;
In this case, the F-32 results in a float, and that causes the 5 to get promoted as well, and then when you divide by 9 that is done as floating point as well. But you have a problem with (5/9) because no promotion to a floating point type was performed, and the result of the division was 0.