Maximize value of ( a + b ) such that ( a * a | Function to maximize the value of ( a + b ) such that ( a * a - b * b = n ) ; Driver code
function maxValue ( n ) { return n ; } var n = 1 ; document . write ( maxValue ( n ) ) ;