i = i + 1 cnt = c + 1 or use a for loop for cnt = 0 to 10 for i = 0 to 10 total = total + quiz(i) next i next cnt