10 of 100 menu

Rust Taskbook Level 1.10

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

Determine how many hours there are in a year.

Given a number:

let num: u16 = 1234567;

Turn it over:

7654321

Given some integer:

let num: u16 = 12;

Print all divisors of this number to the console.

Given a number:

let 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?

Given a number that is a power of 10:

let num: u16 = 10000;

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

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline