Given array of integers and we have to print all EVEN numbers.
For example we have list of integers:
18, 13, 23, 12, 27
18 is properly divisible by 2, So it is a even number.
13 is not properly divisible by 2, so it is not a even number.
23 is not properly divisible by 2, so it is not a even number.
12 is properly divisible by 2, So it is a even number.
27 is not properly divisible by 2, so it is not a even number.
Consider the example:
Output