package ru.job4j.maximum;

/**
* Max class.
* @author Yury Chuksin (chuksin.yury@gmail.com)
* @since 18.01.2017
*/
public class Max {

	/**
	* maxFromTwo method compare two variables and takes maximum.
	* @param first first of two compared variables
	* @param second second of two compared variables
	*/
	public maxFromTwo(int first, int second) {
		int resultMax = 0;
		if (first > second) {
			resultMax = first;
		} else				{
			resultMax = second;
		}
		return resultMax;
	}

	/**
	* maxFromTree method compare tree variables and takes maximum.
	* @param first first of tree compared variables
	* @param second second of tree compared variables
	* @param third of tree compared variables
	*/
	public maxFromThree(int first, int second, int third) {
		int maxFthree = maxFromTwo(first, second);
		maxFthree = maxFromTwo(maxFthree, third);
		return maxFthree;
	}
}
@@ -752,24 +752,26 @@
 %7B%0A%09%09
-int maxFthree = 
+return maxFromTwo(
 maxF
@@ -795,72 +795,16 @@
 ond)
-;%0A%09%09maxFthree = maxFromTwo(maxFthree, third);%0A%09%09return maxFthree
+, third)
 ;%0A%09%7D

Make corrections in task 3.3 again