#!/bin/sh
echo "enter the number upto which you want to print table:"
read n
i=1
while [ $i -ne 10 ]
do
i=$(expr $i + 1)
table=$(expr $i \* $n)
echo "$table"
done