modulo operator multiples, alternate values code example
Example 1: modulo operator multiples, alternate values
if( incrementalId % 2 == 1 )
// send to one
else
// send to the other
Example 2: modulo operator multiples, alternate values
for( i=0; i <= 10; i++ ) {
writeOutput( i%2 );
}
// 01010101010