Question 22
Line 1: Incorrect initialization of D
Line 8: Incorrect conditional expression
Line 9: A updated with wrong value
Line 13: Incorrect initialization of i
Line 16: Conditional expression should not use the "not" operator
Line 22: i updated at wrong place