triangles project - calculates what is a triangle from 3 parameters