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