Skip to content

Commit d1c9bac

Browse files
Update bit_manipulation/check_even_odd.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent 14cd706 commit d1c9bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bit_manipulation/check_even_odd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace even_odd {
4040
* @param N The number to check.
4141
* @returns "Even" if N is even, "Odd" if N is odd.
4242
*/
43-
std::string checkEvenOdd(std::int64_t N) {
43+
std::string is_even(std::int64_t N) {
4444
return (N & 1) == 0 ? "Even" : "Odd";
4545
}
4646

0 commit comments

Comments
 (0)