Find maximum among x ^ ( y ^ 2 ) or y ^ ( x ^ 2 ) where x and y are given | Function to find maximum ; Case 1 ; Case 2 ; Driver Code
function findGreater ( x , y ) { if ( x > y ) { return false ; } else { return true ; } } var x = 4 ; var y = 9 ; if ( findGreater ( x , y ) ) document . write ( " " ) ; else document . write ( " " ) ;