Your Object Orientation is a little off in the Triangle class. You should accept the three sides as parameters for the constructor and set the members:


public Triangle(int sideA, int sideB, int...