for循环
#!/bin/bash
for i in seq 1 9
do
for j in seq 1 $i
do
sum=expr $i \* $j
echo -n "
j
"
X
j"X
j"Xi=$sum “”
done
echo
done
输出99乘法口诀
最新推荐文章于 2023-07-19 20:23:08 发布