Aktualizovat du3/program.c
This commit is contained in:
parent
91c5e8609a
commit
cd918538b9
@ -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");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user