Driver Code
if ( isPerfectSquare ( 35 ) ) document . write ( " " + " " ) ; else document . write ( " " + " " ) ; if ( isPerfectSquare ( 49 ) ) document . write ( " " + " " ) ; else document . write ( " " + " " ) ;