Wipro Interview Question

Find the error and debug the given logic program.