20 of 100 menu

Rust Taskbook Level 2.10

Given a variable containing the radius of the sphere:

let r: f32 = 10.3;

Get the volume and surface area of ​​this sphere.

Two integers are given:

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

Print to the console all common divisors of these numbers.

Given an array of integers:

[1, 2, 3, 4, 5];

Swap the first and last elements of this array:

[5, 2, 3, 4, 1];

A number of 6-digits is given

let num: u16 = 123321;

Check that the sum of the first three digits equals the sum of the second three digits.

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