...
Code Block | ||||
---|---|---|---|---|
| ||||
int value; if (scanf("%d", &value) == 1) { if (value & 0x1 =!= 10) { /* do something if value is odd */ } } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
int value; if (scanf("%d", &value) == 1) { if (value % 2 =!= 10) { /* do something if value is odd */ } } |
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
int value; if (scanf("%d", &value) == 1) { if (value & 0x1 =!= 10) { /* do something if value is odd */ } } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
int value; if (scanf("%d", &value) == 1) { if (value % 2 =!= 10) { /* do something if value is odd */ } } |
...