mirror of
https://github.com/github/codeql.git
synced 2026-03-31 04:38:18 +02:00
4 lines
121 B
C++
4 lines
121 B
C++
int isOdd(int n) {
|
|
//TODO: Works only for positive n. Need to check if negative n is valid input
|
|
return (n % 2) == 1;
|
|
} |