Attempt the question, check the explanation, and continue with similar questions to build confidence before exams.
Remove the loop entirely
Add a break statement
Ensure the control variable is modified inside the loop
Use a different loop type
Video Explanation
Watch Video Solution
Login to get access
Continue with nearby questions to strengthen the same chapter concept while you still have the context fresh in mind.