9*9 multiplication table shell script

#!/bin/bash
for i in `seq 9` #variable i gets 1-9 numbers
do
for j in `seq $i` #j gets the number of i

do
echo -n "$i * $ j = j = j=(( i ∗ i* i j)) "
#printi*jdone
echo" "# wrap done
done

Guess you like

Origin blog.csdn.net/weixin_45835451/article/details/103884924