SHARE
TWEET

Untitled

a guest Sep 21st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Main {
  2.     public static void main(String[] args) {
  3.         int[] a = {44, 37, 3, 33, 5, 49, 7, 53, 9, 77, 82, 109, 10923, 12, 12, 99938, 887430, 87897340, 12435, 1246};
  4.         int array1 = a.length;
  5.         System.out.println(a.length);
  6.         for (int i = 1; i < 20; i+=2) {
  7.             System.out.println(a[i] * 3);
  8.         }
  9.         for (int i=0; i < 20; i+=2) {
  10.             System.out.println(a[i] / 2);
  11.         }
  12.     }
  13. }
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