package ru.job4j;

public class Max {
	
	public max(int first, int second) {
		
		int max = 0;		
		(first > second) ? max = first : max = second;
		
		
	}
	
	public max(int first, int second, int third) {
		
		(third > max) ? max = third : max = max;
		
		
	}
	
	
	
	
}
@@ -33,32 +33,36 @@
 Max %7B%0A%09%0A%09public 
+int 
 max(int first, i
@@ -141,24 +141,35 @@
 = second;%0A%09%09
+return max;
 %0A%09%09%0A%09%7D%0A%09%0A%09pu
@@ -173,16 +173,20 @@
 %09public 
+int 
 max(int 
@@ -222,17 +222,16 @@
  %7B%0A%09%09%0A%09%09
-(
 third %3E 
@@ -264,16 +264,27 @@
  max;%0A%09%09
+return max;
 %0A%09%09%0A%09%7D%0A%09

add max.java