"... Why decimal value set to zero?"
The reason this is happening is because the division of two int values will result in an integer value, as opposed to a real—float or double.
You can remedy this by appending the float or double literal-suffix, to the end of either of those values.
Here is an except from the Java Tutorials.
Primitive Data Types (The Java™ Tutorials > Learning the Java Language > Language Basics).
"... A floating-point literal is of type float if it ends with the letter F or f; otherwise ... double and ... letter D or d. ..."
Only one literal-suffix is required, per arithmetic statement. So the following will suffice.
tempC * 9 / 5f
As a final note, you could specify a double by simply writing it as 5.0.
Although, you would then have to change tempF to a double.
double tempF = (tempC * 9 / 5.0) + 32;