You are viewing a single comment's thread. Return to all comments →
read x read y read z if [ $x -eq $y ] && [ $x -eq $z ] then echo "EQUILATERAL" elif [ $x -eq $y ] || [ $x -eq $z ] || [ $y -eq $z ] then echo "ISOSCELES" else echo "SCALENE" fi
Seems like cookies are disabled on this browser, please enable them to open this website
More on Conditionals
You are viewing a single comment's thread. Return to all comments →