double tf = (9*celsium + 160)/5;
double tf = (9*celsium + 160)/5.0;
В чем разница?