Print to the console all numbers in the range from 10 to 1000 whose first digit is even.
10
1000
Given some array, for example, like this:
[1, 2, 3, 4, 5, 6]
Swap pairs of elements in this array:
[2, 1, 4, 3, 6, 5]