Rust Taskbook Level 2.2
Find the arithmetic mean of all integers from 1 to 100.
Given an array of integers:
let arr: [i8, 5] = [1, 2, 3, 4, 5];
Print to the console the number of bytes occupied by this array.
Given a number:
let num: u16 = 12345;
Find the sum of the first and last digits of this number.
Given an array of integers:
let arr = [1, 2, 3, 4, 5];
Find the sum of the elements of this array.
Given some integer:
let num: u16 = 12345;
Output all its digits from the end to the console.