Pergunta de entrevista da empresa Technoforte Software

Two to Three Logical programming question.