Just a logic program for my math teacher. Hope you enjoy! (It's still a bit buggy, but tell me if ya find a glitch.)
If the 2 smallest numbers add up to be bigger than the larger number, it will triangle!