Advertisement
DenchikNO

arr2.1

Oct 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1. public class Main {
  2.  
  3.     public static void main(String[] args) {
  4.        int a[] = new int[] {1, 2, 84, 4, 67, 6, 7, 12, 9, 10};
  5.  
  6.         for (int i = a.length - 1; i>= 0; i--)
  7.             System.out.print(a[i]);
  8.       }
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement