Malvern Panalytical Interview Question

Solid principles Finite State Machine Fix code