package ru.job4j.array;


public class RotateArray {
	public int[][] rotate(int[][] array) {
		
				for(int i = 0; i < array.length;  i++){
					for(int j = 0; j < array.length; j++){
				
						int temp = array[i][j];
						array[i][j] = array[j][i];
						array[j][i] = int temp;
						}
					}
			return array;
			}
		}
		
		
	
	

@@ -85,22 +85,18 @@
 array) %7B
-%0A%09%09%0A%09
 %09
+%0A
 %09%09for(in
@@ -127,20 +127,19 @@
 h;  i++)
+ 
 %7B%0A
-%09%09
 %09%09%09for(i
@@ -174,20 +174,15 @@
 j++)
+ 
 %7B%0A%09%09%09%09
-%0A%09%09%09%09%09
 %09int
@@ -202,17 +202,16 @@
 %5Bi%5D%5Bj%5D;%0A
-%09
 %09%09%09%09%09arr
@@ -234,17 +234,16 @@
 %5Bj%5D%5Bi%5D;%0A
-%09
 %09%09%09%09%09arr
@@ -252,20 +252,16 @@
 %5Bj%5D%5Bi%5D =
- int
  temp;%0A%09
@@ -267,21 +267,15 @@
 %09%09%09%09
-%09%09%7D%0A%09%09
+%7D%0A
 %09%09%09%7D%0A
-%09%09
 %09ret
@@ -290,18 +290,12 @@
 y;%0A%09
-%09%09%7D%0A%09%09%7D%0A%09%09
+%7D%0A%7D%0A
 %0A%09%09%0A

change RotateArray2