Aktualizovat du3/program.c

This commit is contained in:
Tomáš Vlček 2026-03-19 11:02:42 +00:00
parent 4984c4a1f0
commit 4a8f4f0277

View File

@ -14,7 +14,7 @@ float IsArithCorrect(float num1, float num2, char op, float result)
{ {
float calcResult = 0; float calcResult = 0;
if (op == '/' && num2 == 0) { return -1;} if (op == '/' && num2 == 0) { return 0;}
switch (op) switch (op)
{ {