Rust Taskbook Level 5.8
Ask the user for two integers. Fill the vector with integers from the range specified by the user.
Given an array:
[
[2, 1, 4, 3, 5],
[3, 5, 2, 4, 1],
[4, 3, 1, 5, 2],
}
Sort the elements in each subarray.
Given some array of numbers, for example, like this:
let arr = [1, 2, 3, 4, 5, 6];
Merge pairs of elements together:
[12, 34, 56]
Display the following pyramid on the screen:
111
222
333
444
555
666
777
888
999
222
333
444
555
666
777
888
999
Given a structure with a date:
struct Date
{
year: u16,
month: u8,
day: u8,
}
Ask the user for a date in the format year-month-day. Write this date to a variable implementing our date structure.