24 of 100 menu

PHP Taskbook Level 3.4

Print to the console all numbers in the range from 10 to 1000 whose first digit is even.

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]
enru