Capgemini Interview Question

Logical programs