Shell Program - Multiplication table of the given number

CODE:

#! /bin/bash

echo "enter the number:"
read a

echo "Multiplication table"

for((i=1;i<=10;i++))
do
echo "$a * $i = `expr $a \* $i`"


done

OUTPUT:
Shell Program - Multiplication table of the given number

No comments :

Post a Comment