mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01: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;
|
|
} |