12 of 100 menu

C++ Taskbook Level 2.2

Find the arithmetic mean of all integers from 1 to 100.

Given an array of integers:

int arr[] = {1, 2, 3, 4, 5};

Print to the console the number of bytes occupied by this array.

Given a number:

int num = 12345;

Find the sum of the first and last digits of this number.

Given an array of integers:

int arr[] = {1, 2, 3, 4, 5};

Find the sum of the elements of this array.

Given some integer:

int num = 12345;

Output all its digits from the end to the console.

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