Consistent style for loops (while and for)