49 of 100 menu

C++ Taskbook Level 5.9

Display the following pyramid on the screen:

xx
xxxx
xxxxxx
xxxxxxxx
xxxxxxxxxx

Make an array of size 10 by 10. Fill it with numbers in order:

{ { 1, 2, 3, 4, 5}, { 6, 7, 8, 9, 10}, {11, 12, 13, 14, 15}, {16, 17, 18, 19, 20}, {21, 22, 23, 24, 25}, }

Given a number:

int num = 12345;

Double the digits in this number:

1122334455

Given an array:

{ "123", "213", "321", }

Replace the characters "1" with "0" in each line:

{ "023", "203", "320", }
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