Question d’entretien chez Wipro

Find the error and debug the given logic program.