FactSet interview question

Code review. The usual triangle class. I was given c++ code.