Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1.     public void lerArray(int[] array,int n){
  2.             int[] clone = new int[array.length];
  3.             for(int i = 0;i < array.length;++i){
  4.                 clone[i] = array[n % array.length];
  5.                 ++n;
  6.             }
  7.         for(int y = 0;y < clone.length;++y)System.out.print(clone[y]);
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement