#!/bin/bash

#enter a number
echo -n "enter a number: "
read num

#display multiplication table 
echo "multiplication table for $num: "
for((i=1; i<=10; i++));  do
     echo "$num x $i = $((num*i))"
done

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: