C++ Taskbook Level 5.1
Задание 1
Ask the user to enter two numbers via the console. Output the sum of these numbers.
Задание 2
Print to the console all two-digit integers containing one digit 2.
Задание 3
Given a number:
cppint num = 133;
Determine if any of the digits in this number are the same.
Задание 4
Given an array:
cppint arr[][] = {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9},
};
Print all elements of this array to the console.
Задание 5
Write a program that will output the following pyramid to the console:
x
xx
xxx
xxxx
xxxxx
xx
xxx
xxxx
xxxxx