Create a program to calculate the sum of even numbers in an array.
EasyProblem Statement
Create a program to calculate the sum of even numbers in an array.
Sample Input
arr = {1, 2, 3, 4, 5}Sample Output
Sum of even numbers = 6
Limits
Time: 2s · Memory: 256 MB