diff --git a/02_MENT/main_02_MENT.cpp b/02_MENT/main_02_MENT.cpp index 196eedc..194f4a0 100644 --- a/02_MENT/main_02_MENT.cpp +++ b/02_MENT/main_02_MENT.cpp @@ -87,8 +87,8 @@ PascalString intToHex(int n) { } int getInt(char character) { - if(character == '0') return character; - else return '1'; + if(character == '0') return 0; + else return 1; } PascalString bitwiseDualAnd(PascalString a, PascalString b) {