Mozilor Technologies Interview Question

A basic PHP solution for an problem.