25 of 100 menu

Rust Taskbook Level 3.5

Given an array of numbers, check that all elements of this array are positive numbers.

Given is a text with words. Also given is a symbol:

let chr: char = 'a';

Output to the console all words that begin with a given character.

Given a string:

"1203405"

Find the position of the last zero in the string.

Two arrays are given:

int arr1: [i8: 5] = [1, 2, 3, 4, 5]; int arr2: [i8: 5] = [4, 5, 6, 7, 8];

Print the common elements of these arrays to the console:

4 5

Given a line:

let txt: &str = "abc def jhi";

Count the number of words in this line.

Given some integer:

let num: i16 = 12000;

Count the number of zeros at the end of this number:

3
enru