2013-05-03
展开全部
<script language= 'javascript'>
for ( var i = 1; i < 10; i ++ ) {
for ( var j = 1; j < 10; j ++ )
document.writeln ( i + ' * ' + j + ' = ' + i * j );
document.writeln( '<br\>' );
}
</script>
for ( var i = 1; i < 10; i ++ ) {
for ( var j = 1; j < 10; j ++ )
document.writeln ( i + ' * ' + j + ' = ' + i * j );
document.writeln( '<br\>' );
}
</script>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
<script>
for( var a = 1; a < 10; a++ )
{
for( var b = 1; b <= a; b++ )
{
document.write( b + "x" + a + "=" + a*b );
document.write( " " );
}
document.write( "<br />" );
}
</script>
for( var a = 1; a < 10; a++ )
{
for( var b = 1; b <= a; b++ )
{
document.write( b + "x" + a + "=" + a*b );
document.write( " " );
}
document.write( "<br />" );
}
</script>
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询