33 of 100 menu

Java Taskbook Level 4.3

Print to the console all numbers in the range from 10 to 1000, whose second-to-last digit is even.

Write a program that will generate the following string:

"123456789"

Two integers are given:

int num1 = 12; int num2 = 16;

Print the common divisors of these numbers to the console.

Given a string of integers separated by spaces:

String str = "123 456 789";

Find the sum of the numbers in this line.

There is a line with the words:

String str = "word1 word2 word3";

Get the first N words from this string.

enru