Level 4.3 Java Problem Book
Задание 1
Print to the console all
numbers in the range
from 10 to 1000,
where the second-to-last digit
is even.
Задание 2
Write a program that will form the following string:
java"123456789"
Задание 3
Two integers are given:
javaint num1 = 12;
int num2 = 16;
Print the common divisors of these numbers to the console.
Задание 4
A string with integers separated by spaces is given:
javaString str = "123 456 789";
Find the sum of the numbers from this string.
Задание 5
A string with words is given:
javaString str = "word1 word2 word3";
Get the first N words from
this string.