24 of 100 menu

C++ Taskbook Level 3.4

Given an array of numbers

int arr[] = [1, -2, -3, 4, -5, 6];

Count the number of negative numbers in this array.

Given some integer:

int num = 1357;

Check that all digits of this number are odd.

Given a number:

int 12345

Get an array of digits of this number:

int[] {1, 2, 3, 4, 5}

Two arrays are given:

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

Combine these arrays into one:

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