solve the problem and give the correct answer. for (i = 0; i