Ad
  • Custom User Avatar

    I felt awkward kludging this together. If we're going to all the trouble to make Triangles class objects, why don't we write a method so each Triangle knows its own perimeter and area? Then you could just return Triangle.perimeter() ...