Rust Taskbook Level 3.6
Задание 1
Given an array of integers, output to the console numbers that consist of more 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:
rustlet num: u16 = 12345;
Check that all digits of this number are greater than zero.
Задание 5
Three arrays are given:
rustint arr1: [i8: 5] = [1, 2, 3];
int arr2: [i8: 5] = [4, 5, 6];
int arr3: [i8: 5] = [7, 8, 9];
Combine these arrays into one:
rust[1, 2, 3, 4, 5, 6, 7, 8, 9]
Задание 6
Given a variable with a number:
rustlet num: u8 = 5;
Make a string containing as many zeros as specified in the variable. In our case, we get the following string:
rust"00000"