Acute, obtuse, and right triangles