Java Taskbook Level 4.3
Задание 1
Print to the console all numbers in the range from 10 to 1000, whose second-to-last digit is even.
Задание 2
Write a program that will generate 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
Given a string of integers separated by spaces:
javaString str = "123 456 789";
Find the sum of the numbers in this line.
Задание 5
There is a line with the words:
javaString str = "word1 word2 word3";
Get the first N words from this string.