Java Taskbook Level 4.2

Задание 1

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

Задание 2

Given an integer:

javaint num = 12345;

Print to the console the number of even digits in this number.

Задание 3

Given an integer:

javaint num = 12;

Print all divisors of this number to the console.

Задание 4

Two arrays are given:

javaint[] arr1 = [1, 2, 3, 4, 5];
int[] arr2 = [1, 2, 3];

Check that all elements of the first array are in the second.

Задание 5

Given an integer:

javaint num = 12345;

Swap the first and last digits of this number:

javaint 52341