Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Pfft, I don't even need a comparison:
try { int x = 1 / a / b / c; } catch (DivideByZeroException) { // One of them was zero. }
Thou mewling ill-breeding pignut!
Nice approach, but we all know that it's not good programming manners to use expceptions to calculate values or control program flow.