4 of 100 menu

Rust Taskbook Level 1.4

Tell me how many and what range of values ​​the type i8 can take.

Tell me what is the difference between the i16 type and the f32 type.

Print to the console all even numbers from 2 to 100.

Given a string:

let txt: &str = "abcde";

Loop through and output to the console all its characters one by one.

Two integers are given:

let num1: u16 = 36; let num2: u16 = 12;

Get the remainder of dividing the first number by the second.

Given an integer containing the minute number from 0 to 60:

let num: u8 = 30;

Determine which quarter of an hour this value falls into.

A two-digit number is given:

let num: u8 = 12;

Check that the second digit is greater than the first.

enru