branches2.c 158 Bytes
Newer Older
Christoph Gerum's avatar
Christoph Gerum committed
1

2
int i,k,l = 0;
Christoph Gerum's avatar
Christoph Gerum committed
3 4 5 6 7 8 9 10 11 12 13 14

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