Script 语言的简单练习题 乘法口诀
<script>
for(var i=1;i<=9;i++)
{
for(var k=1;k<=i;k++)
{
document.write(k+"x"+i+"="+k*i+"\t"+" ")
}
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"+" ")
}
document.write("<br />")
}
</script>