32 of 100 menu

C++ Taskbook Level 4.2

Given a string of letters and numbers, get the position of the last digit in that string.

Print to the console all numbers in the range from 10 to 1000 whose first digit is even.

Given an integer:

int num = 12345;

Print to the console the number of even digits in this number.

Given an integer:

int num = 12;

Print all divisors of this number to the console.

Two arrays are given:

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

Check that all elements of the first array are in the second.

Given an integer:

int num = 12345;

Swap the first and last digits of this number:

int 52341
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