Count Even Numbers

Medium

📝 Description

Count how many even numbers are in an array

Input Format

Array of integers

Output Format

Count of even numbers

Constraints

1 ≤ array length ≤ 1000

🔍 Sample Input

[1, 2, 3, 4, 5, 6]
            

✅ Sample Output

3
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run