C++ Taskbook Level 3.6

Задание 1

Given an array of integers, print to the console numbers that are longer than three digits.

Задание 2

Given an array, output every fifth element to the console.

Задание 3

Given an array of strings, leave in this array only those strings that end with ".html".

Задание 4

Given a number, for example, like this:

cppint num = 12345;

Check that all digits of this number are greater than zero.

Задание 5

Three arrays are given:

cppint arr[]1 = [1, 2, 3];
int arr[]2 = [4, 5, 6];
int arr[]3 = [7, 8, 9];

Combine these arrays into one:

cppint[] {1, 2, 3, 4, 5, 6, 7, 8, 9}
Задание 6

Given a variable with a number:

cppint num = 5;

Make a string containing as many zeros as specified in the variable. In our case, we get the following string:

cpp"00000"