You are viewing a single comment's thread. Return to all comments →
read X read Y read Z
if [ Y ] && [ Z ] then echo "EQUILATERAL" elif [ Y ] && [ Z ] then echo "SCALENE" else echo "ISOSCELES" fi
this would suffice the requirement....
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 →
read X read Y read Z
if [ Y ] && [ Z ] then echo "EQUILATERAL" elif [ Y ] && [ Z ] then echo "SCALENE" else echo "ISOSCELES" fi
this would suffice the requirement....