@@ -0,0 +1,620 @@
+package by.vorokhobko.3_conditional_operator;%0A/**%0A * MaxThree.%0A *%0A * Class MaxThree returns the max of three numbers part 001, lesson 3.%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @since 07.12.2016.%0A * @version 1.%0A */%0Apublic class MaxThree %7B%0A%09/**%0A%09* The class field.%0A%09* The method determines the max number.%0A%09* @param first - first.%0A%09* @param second - second.%0A%09* @param third - third.%0A%09* @return tag.%0A%09*/%0A%09public int maxThree(int first, int second, int third) %7B%0A%09%09Max max = new Max();%0A%09%09int firstMax = max.max(first, second);%0A%09%09int largeNum = firstMax %3C third ? third : firstMax;%0A%09%09return largeNum;%0A%09%7D%0A%7D

add class MaxThree