Program that analyzes the type of triangle and finds the area