daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Nov 21st, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package javaapplication62;
  2.  
  3. public class JavaApplication62 {
  4.  
  5.     public static void main(String[] args) {
  6.         int liczba[] = new int[10];
  7.         for (int i = 0; i < liczba.length; i++) {
  8.             liczba[i] = i + 1;
  9.         }
  10.         for (int i = 0; i < liczba.length; i++) {
  11.             if (liczba[i] % 3 == 0) {
  12.                 System.out.println(liczba[i]);
  13.             }
  14.         }
  15.     }
  16. }
RAW Paste Data
Top