for (var i = 1;i < 10; i++){ var ji=0; for (var j = 1; j <= i; j++) {
for(vari=1;i<10;i++){varji=0;for(varj=1;j<=i;j++){ji+=j+"*"+i+"="+i*j+"";}document.wr...
for (var i = 1;i < 10; i++){
var ji=0;
for (var j = 1; j <= i; j++) {
ji += j + " * " + i + " = " + i * j + "";
}
document.write(ji, '<br/>');
} 展开
var ji=0;
for (var j = 1; j <= i; j++) {
ji += j + " * " + i + " = " + i * j + "";
}
document.write(ji, '<br/>');
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询