FactSet Interview Question

Code Walk-through. Was given an option to choose between C, C++ and Java. 3 pages of code, having some design, syntax and logical defects