this type of loop is ideal in situations where the exact number of iterations is known.