@@ -0,0 +1,228 @@
+// Prevent a division by zero using the ?.%0Aclass NoZeroDiv2 %7B%0A%09public static void main(String args%5B%5D) %7B%0A%09%09%0A%09%09for(int i = -5; i %3C 6; i++)%0A%09%09%09if(i != 0 ? true : false)%0A%09%09%09%09System.out.println(%22100 / %22 + i + %22 is %22 + 100 / i);%0A%09%7D%0A%7D%0A

Prevent a division by zero using the ? operator v2