Write a program to print the multiplication table of entered number.
echo "Enter the number to get its multiplication table"
read num
echo "Enter the number till where you want the table to be printed"
read end
mul=1
while [ $mul -le $end ]
do
table=`expr $num \* $mul`
echo "$num * $mul = $table"
mul=`expr $mul + 1`
done