While loops and an incremental operator