branches2.c 168 Bytes
Newer Older
Christoph Gerum's avatar
Christoph Gerum committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

int i,j,k,l = 0;

int main () {
    do {
	j = 0;
	if( i % 2 == 0 ) { // is even
	  k++;
	}
	if( i % 2 != 0 ) { // is odd
	  l++;
	}
	i++;
    } while( i < 100000 );
}