J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | <html> |
| 2 | <head> |
| 3 | <title>Temperature Table</title> |
| 4 | </head> |
| 5 | <body> |
| 6 | |
| 7 | <h1>Temperature Table</h1> |
| 8 | <p>American tourists visiting Canada can use this handy temperature |
| 9 | table which converts from Fahrenheit to Celsius: |
| 10 | <br><br> |
| 11 | |
| 12 | <table BORDER COLS=2 WIDTH="20%" > |
| 13 | <tr BGCOLOR="#FFFF00"> |
| 14 | <th>Fahrenheit</th> |
| 15 | <th>Celsius</th> |
| 16 | </tr> |
| 17 | |
| 18 | <% for (int i = 0; i <= 100; i += 10) { %> |
| 19 | <tr ALIGN=RIGHT BGCOLOR="#CCCCCC"> |
| 20 | <td><%= i %></td> |
| 21 | <td><%= ((i - 32) * 5 / 9) %></td> |
| 22 | </tr> |
| 23 | <% } %> |
| 24 | |
| 25 | </table> |
| 26 | <p><i>Created <%= new Date () %></i></p> |
| 27 | |
| 28 | </body> |
| 29 | </html> |
| 30 | |