Rust Taskbook Level 1.10

Задание 1

Find the sum of all even integers between 1 and 100.

Задание 2

Determine how many hours there are in a year.

Задание 3

Given a number:

rustlet num: u16 = 1234567;

Turn it over:

rust7654321
Задание 4

Given some integer:

rustlet num: u16 = 12;

Print all divisors of this number to the console.

Задание 5

Given a number:

rustlet num: f32 = 1000;

Divide it by 2 as many times as necessary until the result is less than 10. How many iterations does this require?

Задание 6

Given a number that is a power of 10:

rustlet num: u16 = 10000;

Find out to what power ten was raised to obtain the given number.