41 of 100 menu

Rust Taskbook Level 5.1

Ask the user to enter two numbers via the console. Output the sum of these numbers.

Create a vector of two-digit integers containing one digit 2.

Given a number:

let num: u16 = 133;

Determine if any of the digits in this number are the same.

Given an array:

let arr: [[i8; 3]; 3] = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ];

Print all elements of this array to the console.

The following motorcade was given:

let tpl: [&str, &str, i8];

Write the user's first name, last name, and age into this tuple.

Write a program that will output the following pyramid to the console:

x
xx
xxx
xxxx
xxxxx
enru