Wipro interview question

Find the error and debug the given logic program.