Consider the number of times the loop is executed and how many primitive operations occur in each iteration.