Aktualizovat du3/program.c

This commit is contained in:
Tomáš Vlček 2026-03-18 23:39:05 +00:00
parent 9802a3f760
commit 3c1176b58f

View File

@ -135,7 +135,7 @@ int main()
{ {
printf("CHYBA\n"); printf("CHYBA\n");
} }
else if (IsArithCorrect(strtof(num1Temp, strtofEndPtr),strtof(num2Temp, strtofEndPtr), op1) == 0) else if (IsArithCorrect(strtof(num1Temp, &strtofEndPtr),strtof(num2Temp, &strtofEndPtr), op1) == 0)
{ {
printf("ZLE\n"); printf("ZLE\n");
} }