Source of myMax.cpp


  1: //myMax.cpp

  2: 
  3: int myMax
  4:         (
  5:         int first, //in

  6:         int second //in

  7:         )
  8: {
  9:         //if (first > second)

 10:         //{

 11:         //        return first;

 12:         //}

 13:         //else

 14:         //{

 15:         //        return second;

 16:         //}

 17:         return (first > second) ? first : second;
 18: }