Formulatrix Interview Question

Trafic light problem using object-oriented programing