The for-loop will traverse through each of the number in array, <em>a</em>. Within the for-loop, each number is modulus with 2 to check if it is equal to zero. Any number modulus 2 that result in zero is an even number. Based on this condition, the <em>x </em> count value will be incremented by one whenever an even number is detected from the array.
At last, display the <em>x</em> count value after completion of the for-loop.