42_EXAM icon indicating copy to clipboard operation
42_EXAM copied to clipboard

STUD_PART/exam_02/1/do_op /do_op.c - division by 0

Open mirsulc opened this issue 1 year ago • 0 comments

In case of division the n2 shouldn't be null So there should be something like this on the 21th line:

else if (av[2][0] == '/' && n2 != 0)

and then what to do if the n2 == 0

And thanks for this 42 exam tester of course!

mirsulc avatar Jul 10 '23 09:07 mirsulc