I want the iterator variable in a for loop to reverse iterate to 0 as an unsigned int, and I cannot think of a similar comparison to i > -1, as
unsigned int
i > -1
Avoiding underflow
unsigned int i = n; while (i !=0){ --i; ... }