Why is the code of a for loop easier to read than the code of a while loop?

Because the number of times the for loop repeats is in one placeBecause the for loop prevents us from writing infinite loops

Because the number of times the for loop repeats is in one place.