C++ Taskbook Level 5.4

Задание 1

Given some integer:

cppint num = 12345;

Check that the digits of this number are in ascending order.

Задание 2

Given some array:

cppint arr[] = {123, 456, 789};

Get an array of the first digits of the numbers in the first array:

cppint[] {1, 4, 7};
Задание 3

Create the following array using loops:

cppchar[] {
  {'x', 'x', 'x'},
  {'x', 'x', 'x'},
  {'x', 'x', 'x'},
}