Aktualizovat du3/program.c

This commit is contained in:
Tomáš Vlček 2026-03-18 23:27:56 +00:00
parent 8cd60a08c7
commit 2ddf7f57c9

View File

@ -131,7 +131,7 @@ int main()
//** konecna faza = vypisovanie vysledkov
//ak systematicka chyba
if (isLineInvalid = true || op == 'N' || IsArithCorrect(strtof(num1Temp, strtofEndPtr),strtof(num2Temp, strtofEndPtr), op1) == -1)
if (isLineInvalid = true || op1 == 'N' || IsArithCorrect(strtof(num1Temp, strtofEndPtr),strtof(num2Temp, strtofEndPtr), op1) == -1)
{
printf("CHYBA\n");
}