<script>
txt = "";
for(C=1; C<=9; C++)
{
for(c=1; c<=9; c++)
{
txt += C+"×"+c+"="+C*c+" ";
}
txt += "\n";
}
alert(txt);
</script>