0

Crash the world? Never divide by 0?

I was told that if not handled previously in a system dividing by 0 will crash a system, anyone care to explain this?

18th Nov 2016, 1:26 AM
Michael Cantrall
Michael Cantrall - avatar
1 Réponse
+ 2
Dividing by zero will crash your program (if there is no try/catch error). Think about trying to divide a cookie into zero groups, it just doesn't make logical sense.
18th Nov 2016, 2:00 AM
Keto Z
Keto Z - avatar