Rust Taskbook Level 2.6
Задание 1
Given an array of numbers:
rustlet arr: [i8, 5] = [-1, 2, -3, 4, 5, 11];
Find the sum of those elements of this array that are greater than zero and less than ten.
Задание 2
Given an array of integers:
rustlet arr: [u8; 5] = [1, 2, 3, 4, 5];
Print to the console the elements of this array that are even numbers.
Задание 3
Given an array of integers:
rustlet arr: [u8; 5] = [1, 2, 3, 0, 4, 5];
Print the elements of this array to the console up to the first zero.