24 of 100 menu

Rust Taskbook Level 3.4

Given an array of numbers

let arr: [i:8; 6] = [1, -2, -3, 4, -5, 6];

Count the number of negative numbers in this array.

Given some integer:

let num: u16 = 1357;

Check that all digits of this number are odd.

Given some integer:

let num: u16 = 12345

Get an array of digits of this number:

[1, 2, 3, 4, 5]

Two arrays are given:

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

Combine these arrays into one:

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