14 lines
195 B
Bash
14 lines
195 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [[ $1 -gt 1 && $2 -gt 1 ]]
|
||
|
then
|
||
|
for ((i=$1;i<=$2;i++))
|
||
|
do
|
||
|
for ((x=$1;x<=$2;x++))
|
||
|
do
|
||
|
reponse=$(($i*$x))
|
||
|
echo -n "$reponse "
|
||
|
done
|
||
|
echo -e
|
||
|
done
|
||
|
fi
|