code: private float MAX(float first, float second, float third) {
  
          float max = Integer.MIN_VALUE;
          if (first > max) {
              max = first;
          }
          if (second > max) {
              max = second;
          }
          if (third > max) {
              max = third;
          }
          return max;
      }
docs: Calculates the largest value between the three inputs.<p>
  @param first value
  @param second value
  @param third value
  @return the largest value between the three inputs