I have created a program which uses a class to create objects which store information about a triangle for later use and have shown the relevant parts of the program.