#!/bin/bash
#continuing an outer loop
for (( a=1; a<=5; a++))
do
echo "Iteration $a:"
for (( b=1; b<3; b++ ))
if [ $a -gt 2 ] && [ $a -lt 4 ]
then
continue 2
fi
var3=$[ $a * $b ]
echo " The result of $a * $b is $var3"
done