Java Taskbook Level 4.5
Задание 1
Print to the console all numbers from 1 to 1000, the sum of the digits of which is equal to 13.
Задание 2
The values given are in pixels and contain integers:
javaString size1 = "12px";
String size2 = "15px";
Add these values together so that the result is also in pixels:
java"28px"
Задание 3
Given an array:
javaint[] {1, 2, 3}
Create a new array so that each element of the first array is repeated twice:
javaint[] {1, 1, 2, 2, 3, 3}
Задание 4
Given an array:
javaint[] arr = {1, 2, 3, 4, 5};
Create a new array such that the new array contains all the elements of the first array except for the first N elements.