50 of 100 menu

Rust Taskbook Level 5.10

Output the following pyramid to the console:

1
333
55555
7777777
999999999

Ask the user for a number. Print the multiplication table for that number to the console. Below is an example for two:

1 * 2 = 2 2 * 2 = 3 3 * 2 = 6 4 * 2 = 8 5 * 2 = 10 6 * 2 = 12 7 * 2 = 14 8 * 2 = 16 9 * 2 = 18

Given an array with some integers, for example, like this:

let arr = [123, 456, 789];

Write code that will reverse the numbers in this array as follows:

[321, 654, 987}

Given an array with some integers, for example, like this:

let arr = [123, 333, 133];

Replace all threes in each number with zeros, except for the threes at the beginning of the number:

[120, 300, 100}
enru