Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void lerArray(int[] array,int n){
- int[] clone = new int[array.length];
- for(int i = 0;i < array.length;++i){
- clone[i] = array[n % array.length];
- ++n;
- }
- for(int y = 0;y < clone.length;++y)System.out.print(clone[y]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement