Given a triangle with sides [tex]a,b,c[/tex], where c is the longest side:
Apply this logic to your triples and you'll classifiy all the triangles.