99乘法表(js)

mac2022-06-30  71

//九九乘法表 let i,j,str; for(i=1;i<=9;i++) { str = ""; for(j=1;j<=i;j++) { str = str+i+'*'+j+'='+(i*j)+" "; } console.log(str); }

转载于:https://www.cnblogs.com/yeyuyuni/p/11377372.html

最新回复(0)