diff --git a/logicalproblem02.cpp b/logicalproblem02.cpp index e865de2..f45ee82 100644 --- a/logicalproblem02.cpp +++ b/logicalproblem02.cpp @@ -3,7 +3,7 @@ using namespace std; bool check(char a, char b) { - // write the function here + return (a ^ b) == 0; } int main()