17 of 100 menu

Rust Taskbook Level 2.7

Given an array of integers:

let arr: [u8; 5] = [1, 2, 3, 4, 5];

Find the sum of the squares of the elements of this array.

Given an array of numbers:

let arr: [u8; 5] = [1, 2, 3, 4, 5];

Merge the elements of this array into a string:

"12345"

Given an array with a date:

let arr: [&str; 3] = ["2025", "12", "31"];

From the elements of this array, collect the date in the following format:

"31-12-2025"
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