Swift Array Programming Exercises: Count the number of even integers in the given array
Write a Swift program to count the number of even integers in the given array.
Pictorial Presentation:

Sample Solution:
Swift Code:
Sample Output:
2 0 4
Swift Programming Code Editor:
Improve this sample solution and post your code through Disqus
Previous: Write a Swift program to create a new array taking the first element from two given arrays of integers. If either array is length 0, ignore that array.
Next: Write a Swift program to find the difference between the largest and smallest values in a given array of integers and length 1 or more.
What is the difficulty level of this exercise?
Based on 1156 votes, average difficulty level of this exercise is Easy
.