55 of 100 menu

Rust Taskbook Level 6.5

Ask the user to enter their date of birth in the format year-month-day. Determine how old the user is.

Ask the user to enter three numbers. Check that these numbers are a Pythagorean triple: the square of the largest number must be equal to the sum of the squares of the other two.

Given date:

let date = "2020-11-32";

Please check if this date is correct.

Given some integer:

35142

Sort the digits of this number. In our case, we should get the following:

12345

Given a tuple containing time in the format hours, minutes, seconds:

("12", "59", "01")

Check that the time is correct: hours from 00 to 23, minutes and seconds from 00 to 59.

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