do case case i < 20 * Do this case i < 40 * Do that otherwise * Do that other thing endcase
for ( int i = 0; i < 50 ; i++ ) { switch ( i ) { case i < 20: do this; break; default: break; } }