Aktualizovat du3/program.c

This commit is contained in:
Tomáš Vlček 2026-03-18 23:44:18 +00:00
parent 91c5e8609a
commit cd918538b9

View File

@ -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");
}