#correct syntax to make c accessible in if

1 messages ยท Page 1 of 1 (latest)

urban frostBOT
#

@ripe token has a question:

firegene
            for(static int c=0;j!=0;c++) {
                j=j&(j-1);
            }
            if (c==2 | c==3 | c==5){
                System.out.println(c);
            }```
#

<@&987246399047479336> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

int c = 0;
for (c = 0; j != 0; c++) {
j = j & (j - 1);
}
if (c == 2 || c == 3 || c == 5) {
System.out.pr

sleek olive
#

already answered #1189720648797392947