C++ Taskbook Level 5.4
Given some integer:
int num = 12345;
Check that the digits of this number are in ascending order.
Given some array:
int arr[] = {123, 456, 789};
Get an array of the first digits of the numbers in the first array:
int[] {1, 4, 7};
Create the following array using loops:
char[] {
{'x', 'x', 'x'},
{'x', 'x', 'x'},
{'x', 'x', 'x'},
}