From c470912843900cbfa603368a68f8dfa4886d50b3 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Mon, 9 Apr 2018 21:23:22 +0200 Subject: [PATCH] jetzt funktioniert doch mal --- 02_MENT/main_02_MENT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';