写一个shell脚本,打印打印九九乘法表,脚本如下:
#!/bin/bash
for ((j=1;j<=9;j++))
do
for ((i=1;i<=j;i++))
do
echo -e -n "${i}X${j}=$[${i}*${j}]t"
done
echo
done
写一个shell脚本,打印打印九九乘法表,脚本如下:
#!/bin/bash
for ((j=1;j<=9;j++))
do
for ((i=1;i<=j;i++))
do
echo -e -n "${i}X${j}=$[${i}*${j}]t"
done
echo
done