#!/bin/bash
#输出九九乘法表
for ((i=1;i<=9;i++))
do
for ((j=1;j<=$i;j++))
do
echo -n $j'x'$i=$(($i*$j)) " "
done
echo
done
#!/bin/bash
#输出九九乘法表
for ((i=1;i<=9;i++))
do
for ((j=1;j<=$i;j++))
do
echo -n $j'x'$i=$(($i*$j)) " "
done
echo
done