Why is the code of a for loop easier to read than the code of a while loop?
for loop prevents us from writing infinite loopswhile loops are always easier to read than for loopsBecause the number of times the for loop repeats is in one place.