83 of 100 menu

Rust Taskbook Level 9.3

Ask the user for two integers. Create a two-dimensional array whose size is taken from the numbers the user entered. Fill the array with random integers.

The following array is given:

let arr = ["123", "456", "789"];

Transform this array into the following:

let arr = [ [1, 2, 3], [4, 5, 6], [7, 8, 9} ];

Given some URL:

let url: &str = "http://test.com/dir1/dir2/dir3/page.html";

Get the protocol from it:

"http"

Given a two-dimensional array:

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

Split its elements into two arrays:

[1, 2, 3, 4] [5, 6, 7, 8]
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