Pergunta de entrevista da empresa Dealer eProcess

One of the code reviews was to debug and improve a few php classes based on shapes.

Resposta da entrevista

Sigiloso

9 de abr. de 2019

I successfully removed all the errors in the code and then made a few additions that made sense within each class. The classes dealt with shapes, one of which was a triangle. So I added a function to determine if it was a valid triangle and then added an additional way to calculate the area based on the type of triangle instead of just the default formula.