CJCoding With Joseph

Count Even Numbers in Array

An array nums has been created with the values {10, 15, 20, 25, 30}. Count how many elements are even and print the count in this exact format:

Even count: 3

Expected Output:

Even count: 3
Topics:
Arrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.