Heh noticed you removed your "or divide by 0", but that isnt possible because that will equal nothing, so as soon as you divide a or b by 0 it equals nothing (my maths is a bit sketchy, but I think thats correct). Even Windows Calculator wont allow you to divide by 0 as the answer would be nothing, which it cannot generate - look for yourself!