Rust Taskbook Level 5.4
In an infinite loop, ask the user for a number. Each time, add the entered number to the vector and output the sum of the vector elements to the console.
Given some integer:
let num: u16 = 12345;
Check that the digits of this number are in ascending order.
Given some array:
[123, 456, 789]
Get an array of the first digits of the numbers in the first array:
[1, 4, 7]
Create the following array using loops:
[
['x', 'x', 'x'],
['x', 'x', 'x'],
['x', 'x', 'x'],
}