Rust Taskbook Level 3.1

Задание 1

Given an array of integers, print to the console only those numbers that are divisible by 5.

Задание 2

Given a line:

rust"abcdef"

Get the first three characters of this string:

rust"abc"
Задание 3

Given symbol:

rustlet chr: char = 'a';

Find out whether this character is uppercase or lowercase.

Задание 4

Given an array:

rust[1, 2, 3, 4, 5, 6]

Get the following slice from it:

rust[1, 2, 3]
Задание 5

Given an array of integers:

rustlet arr = [1, 2, 3, 0, 4, 5];

Print the position of the first zero to the console.