<script>
for(var i=1;i<=9;i++)
{

for(var k=1;k<=i;k++)
{
document.write(k+"x"+i+"="+k*i+"\t"+"&nbsp;")
}
document.write("<br />")
}
document.write("<br />")
document.write("<br />")
for (var i=1;i<=9;i++)
{
for (var k=1;k<=i;k++)
{
document.write(i+"x"+k+"="+k*i+"\t"+"&nbsp;")
}
document.write("<br />")
}
</script>

04-28 13:32