The following program was designed to check if a triangle is a right triangle if given all 3 sides lengths and no angles.