package ru.job4j.array;
/**
 * Class Turn.
 *
 * @author Alexey Leishin (lepishin.ao@yandex.ru)
 * @version 1
 * @since 29.05.2017
 */
public class Turn {
	/**
	 * back.
	 * @param array array.
	 * @return array.
	 */
	public int[] back(int[] array) {
		for (int i = 0; i < array.length / 2; i++) {
			int count = array[i];
			array[i] = array[array.length - i - 1];
			array[array.length - i - 1] = count;
		}
		return array;
	}
}
@@ -247,16 +247,33 @@
 ay) %7B%0A%09%09
+int tmp;%0A        
 for (int
@@ -313,44 +313,23 @@
 ) %7B%0A
-%09%09%09int count = array%5Bi%5D;%0A%09%09%09array%5Bi%5D
+            tmp
  = a
@@ -360,11 +360,20 @@
 1%5D;%0A
-%09%09%09
+            
 arra
@@ -402,21 +402,64 @@
 %5D = 
-count;%0A%09%09%7D%0A%09%09
+array%5Bi%5D;%0A            array%5Bi%5D = tmp;%0A        %7D%0A        
 retu

Task 4441_3