Java Taskbook Level 5.4
Задание 1
Given some integer:
javaint num = 12345;
Check that the digits of this number are in ascending order.
Задание 2
Given some array:
javaint[] arr = {123, 456, 789};
Get an array of the first digits of the numbers in the first array:
javabyte[] {1, 4, 7};
Задание 3
Create the following array using loops:
javachar[] {
{'x', 'x', 'x'},
{'x', 'x', 'x'},
{'x', 'x', 'x'},
}