Page 8 - Looping by Johannes Alexander
P. 8

What is output of this






                                                     syntax?










                                                     public static void main(String[] args){




                                                         int res = 2;











                                                        while(res%2!=0||res%3!=0||res%4!=0||res%5!=0){





                                                           res+=1;




                                                        }





                                                        System.out.println(res);




                                                     }
   3   4   5   6   7   8   9   10   11   12   13