Microchip Technology Interview Question

They gave one problem statement and asked me to design with c# coding.