Simple Question about Numeric Operations
Division by zero gets you infinity.

Note that (5/9) is an int expression, and resolves to int 0!

To fix things, make your literals doubles : 

double celsius = 30d;
double fahrenheit = (celsius + 32.0d) / (5d/9d);