47 of 100 menu

Rust Taskbook Level 5.7

Print to the console all numbers in the range from 10 to 1000, the sum of the first and second digits of which is equal to five.

Given an array:

[ [1, 2, 3], [4, 5, 6], [7, 8, 9], }

Merge the elements of this array into one one-dimensional array:

[1, 2, 3, 4, 5, 6, 7, 8, 9}

Two lines are given:

let txt: &str =1 = "12345"; let txt: &str =2 = "45678";

Get characters that are in both lines:

"45"

Given a structure with a date:

struct Date { year: u16, month: u8, day: u8, }

Create a variable containing the data of this structure. Then write the data from the structure to the following tuple:

(2025, 12, 31)
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