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