<html>  
<jsp:directive.page language="javascript"/> 
<head>  
   <title>Temperature Table</title>  
</head>  
<body>  
<h1>Temperature Table</h1>  
<p>American tourists visiting Canada can use this handy temperature  
table which converts from Fahrenheit to Celsius:  
<br><br>  

<table BORDER COLS=2 WIDTH="20%" >  
<tr BGCOLOR="#FFFF00">  
<th>Fahrenheit</th>  
<th>Celsius</th>  
</tr>  

<% 
  for (i=0; i<=100; i+=10) { 
    out.println ("<tr ALIGN=RIGHT BGCOLOR=\"#CCCCCC\">") 
    out.println ("<td>" +  i + "</td>") 
    out.println ("<td>" + Math.round((i - 32)*5/9) + "</td>") 
    out.println ("</tr>") 
  } 
%> 

</table>  
<p><i> <%= new java.util.Date() %> </i></p>  

</body>  
</html>