#! /bin/bash
clear
let li=3;let co=3
for y in `seq 1 1 10`
do
for x in `seq 1 1 10`
do
let c=${x}*${y}
tput cup ${li} ${co};echo "${y} * ${x}=${c} "
#echo "${y} * ${x}= ${c}"
if [ ${li} -lt 12 ]
then
let li=${li}+1
else
let li=3;let co=${co}+8
fi
done
done
tput cup 15 0