You are viewing a single comment's thread. Return to all comments →
read x read y read z
if [ y -a z -a x ] then echo "EQUILATERAL" elif [ y -a z -a x ] then echo "SCALENE" else echo "ISOSCELES" 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 →
!/bin/bash
read x read y read z
if [ y -a z -a x ] then echo "EQUILATERAL" elif [ y -a z -a x ] then echo "SCALENE" else echo "ISOSCELES" fi