Files
codeql/cpp/ql/src/Documentation/TodoComments.cpp
2018-09-23 16:23:52 -07:00

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;
}