Convert Celsius to Fahrenheit Jsp

Enter Temprature in Celsius:

<% String str=request.getParameter("cel"); if(str == null || str.equals("")){ out.println("Fahrenheit:"); } else{ float c=Float.parseFloat(str); float f = 32 + 9*c/5; out.println("Fahrenheit:"+f); }%>