From cd918538b916101de070fe8fb0fd764807a67cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Wed, 18 Mar 2026 23:44:18 +0000 Subject: [PATCH] Aktualizovat du3/program.c --- du3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/du3/program.c b/du3/program.c index c4062c8..3d15686 100644 --- a/du3/program.c +++ b/du3/program.c @@ -135,11 +135,11 @@ int main() //** konecna faza = vypisovanie vysledkov //ak systematicka chyba - if (isLineInvalid = true || op1 == 'N' || IsArithCorrect(num1, num2, op1, resultNum) == -1) + if (isLineInvalid = true || op1 == 'N' || IsArithCorrect(num1, num2, &op1, resultNum) == -1) { printf("CHYBA\n"); } - else if (IsArithCorrect(num1, num2, op1, resultNum) == 0) + else if (IsArithCorrect(num1, num2, &op1, resultNum) == 0) { printf("ZLE\n"); }