SCR/TP08/mult_mat.sh
2023-12-09 17:51:11 +01:00

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