5 of 100 menu

C++ Taskbook Level 1.5

Tell me how many bytes a number of type int takes.

Print to the console all numbers that are multiples of 7 in the range from -100 to 100.

Given two integers, check that the first digits of these numbers match.

Two integers are given:

int num1 = 36; int num2 = 12;

Check that the first number is divisible by the second without remainder.

Given a string:

std::string str = "123456789";

Loop through and output to the console one by one all characters from the end of the line.

Three integers are given:

int num1 = 36; int num2 = 24; int num2 = 12;

Print the larger of these numbers to the console.

Three symbols are given:

char chr1 = 'a'; char chr2 = 'b'; char chr3 = 'c';

Merge these characters into a string:

std::string "abc"

Given an integer containing the number of kilobytes:

int kb = 35;

Convert this value to bytes.

Given an integer containing a day number from 1 to 31:

unsigned int num = 1;

Determine which decade of the month this day falls in.

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