echo "Enter the number" read $num echo "number in reverse order is : " ten=10 while [[ $num -gt 0 ]]; do echo $((num%ten)) num=`expr