CivilSoft Interview Question

problem solving question but very simple