Driver code
document . write ( max ( 2 , 3 ) + " " ) ; document . write ( max ( 2 , - 3 ) + " " ) ; document . write ( max ( - 2 , - 3 ) + " " ) ; document . write ( min ( 2 , 3 ) + " " ) ; document . write ( min ( 2 , - 3 ) + " " ) ; document . write ( min ( - 2 , - 3 ) ) ;