Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 25th, 2017 45 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.         int[] tab = new int[20];
  2.  
  3.         for(int i=0; i < tab.length; i++){
  4.             tab[i] = (int)(Math.random() * 10);
  5.            
  6.             if(tab[i] % 2 == 0){
  7.                 System.out.println("*");
  8.                 System.out.println("Wartosc: " + tab[i]);
  9.                 System.out.println("Index: " + i);
  10.                 System.out.println("*");
  11.             }
  12.         }
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
 
Top