Skip to content

Commit 13d062d

Browse files
authored
Update check_even_odd.cpp
1 parent 9027c94 commit 13d062d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bit_manipulation/check_even_odd.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ namespace even_odd {
3939
* @brief Checks if a number is even or odd using bitwise AND.
4040
* @param N The number to check.
4141
* @returns "Even" if N is even, "Odd" if N is odd.
42-
*/
43-
std::string checkEvenOdd(std::int64_t N) {
44-
return (N & 1) == 0 ? "Even" : "Odd";
45-
}
42+
*/
43+
std::string checkEvenOdd(std::int64_t N) {
44+
return (N & 1) == 0 ? "Even" : "Odd";
45+
}
4646

47-
} // namespace even_odd
47+
} // namespace even_odd
4848
} // namespace bit_manipulation
4949

5050
/**

0 commit comments

Comments
 (0)