C++ Taskbook Level 5.3

Задание 1

Ask the user to enter 10 numbers through the console. In response, output the sum of these numbers.

Задание 2

Write a program that will output the following pyramid to the console:

999999999
88888888
7777777
666666
55555
4444
333
22
1
Задание 3

Given an array:

cppint arr[][][] = {
  {
    {1, 2, 3, 4, 5},
    {1, 2, 3, 4, 5},
    {1, 2, 3, 4, 5},
  },
  {
    {1, 2, 3, 4, 5},
    {1, 2, 3, 4, 5},
    {1, 2, 3, 4, 5},
  },
  {
    {1, 2, 3, 4, 5},
    {1, 2, 3, 4, 5},
    {1, 2, 3, 4, 5},
  },
};

Print the sum of all elements of this array to the console.