Guest User

Untitled

a guest
Aug 21st, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. int arr[ ] = new int[3];
  2. for (int i = 0; i < 3; i++) {
  3. arr[i] = i;
  4. }
  5. int res = arr[0] + arr[2];
  6. System.out.println(res);
Add Comment
Please, Sign In to add comment