14 lines
195 B
Bash
Executable File
14 lines
195 B
Bash
Executable File
#!/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 |