The shell script prints the nine-nine-nine multiplication table #!/bin/bash
for i in {1..9}
do
for j in {1..9}
do
if [$j -le $i]
then
echo -n “${j}X${i}= $(($i*$j)) ”
fi
done
The shell script prints the nine-nine-nine multiplication table #!/bin/bash
for i in {1..9}
do
for j in {1..9}
do
if [$j -le $i]
then
echo -n “${j}X${i}= $(($i*$j)) ”
fi
done