Posted on

Description

Submission

read a
read b
read c

if [[ $a -eq $b ]] && [[ $b -eq $c ]]
then
    echo "EQUILATERAL"
elif [[ $a -eq $b ]] || [[ $b -eq $c ]] || [[ $a -eq $c ]]
then
    echo "ISOSCELES"
else 
    echo "SCALENE"
fi

Leave a Reply

Your email address will not be published. Required fields are marked *