Rust Taskbook Level 1.8
Задание 1
Print to the console all integers from 100 to 1.
Задание 2
Given a string:
rust"abcde"
Loop through and output to the console one by one all characters from the end of the line.
Задание 3
Given an integer containing the number of bytes:
rustlet b: i64 = 7435421243;
Convert this value to gigabytes, megabytes, and kilobytes.
Задание 4
Given a number:
rustlet num: i32 = 1234567;
Find the sum of the digits of this number.
Задание 5
Given a number:
rustlet num: f32 = 12.3;
Find 10 percent of this number.