SHARE
TWEET

java ques 60

Dprogrammed1 Mar 28th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  class jump_statments
  2.     {
  3.         public static void main(String args[])
  4.         {        
  5.              int x = 2;
  6.              int y = 0;
  7.              for ( ; y < 10; ++y)
  8.              {
  9.                  if (y % x == 0)
  10.                      continue;  
  11.                  else if (y == 8)
  12.                       break;
  13.                  else
  14.                     System.out.print(y + " ");
  15.              }
  16.         }
  17.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top