Guest User

Untitled

a guest
Mar 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. read X
  2. read Y
  3. read Z
  4.  
  5. if [[ "$X" == "$Y" && "$Y" == "$Z" ]]; then
  6. echo "EQUILATERAL"
  7. elif [[ "$X" != "$Y" && "$Y" != "$Z" && "$Z" != "$X" ]]; then
  8. echo "SCALENE"
  9. else
  10. echo "ISOSCELES"
  11. fi
Add Comment
Please, Sign In to add comment