99乘法表
各位小可爱,我也是后台学习者,关注我,我们一起讨论
一起学习。
九九乘法表的简单代码
代码如下:
for(i=1; i=1;i=1;i<10;KaTeX parse error: Expected ‘}’, got ‘EOF’ at end of input: i++){ for(j=1;j<= j<=j<=i;KaTeX parse error: Expected ‘}’, got ‘EOF’ at end of input: …+){ echo “ji=". i=".i=".i$j.” ";
}
echo “
”;
}
echo “
”;
for(i>0;KaTeX parse error: Expected '}', got 'EOF' at end of input: i--){
for(j=1;i;KaTeX parse error: Expected '}', got 'EOF' at end of input: …++){
echo "j*i*$j." ";
}
echo “
”;
}运行结果如下图