I have to write a program that creates a text file that contains a power of two table in HTML format. Also the instruction are
The file should start with something like:
<html><head>
<title>Powers of Two</title>
</head>
<body>
<table border cellpadding=5>
<tr><th>Power of 2</th><th>Value</th></tr>
Each line of the table looks like:
<tr><td>0</td><td>1</td></tr>
And end with:
</table>
</body></html>