package ru.job4j.max;

/**
 * Max.
 *
 * @author Aleks Sidorenko (alek.siadorenko1979@gmail.com)
 * @version $Id$
 * @since 0.1
 */
public class Max {
	/**
	 *Max element.
	 *@param first - first element.
	 *@param second - second element.
	 *@return - max element.
	 */
	 public int max(int first, int second) {
        return (first > second) ? first : second;
    }
	/**
	 *Max element of three numbers.
	 *@param first - first element.
	 *@param second - second element.
	 *@param third - third element.
	 *@return - max element.
	 */
	public int maxOfThreeNumbers(int first, int second, int third) {
        return (max(first, second) > third) ? max(first, second) : third;
    }
}
@@ -606,24 +606,31 @@
         
-return (
+int maxFirst = 
 max(firs
@@ -643,45 +643,79 @@
 ond)
- %3E third) ?
+;%0A        int maxSecond =
  max(
-f
+maxF
 irst, 
-second) : thir
+third);%0A        return maxSecon
 d;%0A 

task 190