Check whether count of odd and even factors of a number are equal | Function to check condition ; Driver Code
function isEqualFactors ( N ) { if ( ( N % 2 == 0 ) && ( N % 4 != 0 ) ) document . write ( " " ) ; else document . write ( " " ) ; } var N = 10 ; isEqualFactors ( N ) ; N = 125 ; isEqualFactors ( N ) ;