Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- read X
- read Y
- read Z
- if ((X == Y && Y == Z)); then
- echo "EQUILATERAL"
- elif ((X == Y || X == Z || Y == Z)); then
- echo "ISOSCELES"
- else
- echo "SCALENE"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement