The program allows the user to input the coordinates of a triangle. It then draws the triangle on a graph. The user can select to reflect the triangle across the x-axis, y-axis, or line y=x. Based on the selection, the program performs the mathematical operations to reflect the triangle and redraws it.