diff --git a/02_MENT/main_02_MENT.cpp b/02_MENT/main_02_MENT.cpp index 630d83c..53d7571 100644 --- a/02_MENT/main_02_MENT.cpp +++ b/02_MENT/main_02_MENT.cpp @@ -54,7 +54,7 @@ PascalString intToDual(int n) { } char intToHexChar(int n) { - if(n > 9) { + if(n < 9) { switch(n) { case 10: return 'A'; case 11: return 'B';