C++ Taskbook Level 1.1

Задание 1

Ask the user for two numbers. Check if these numbers are friendly or not.

Задание 2

Given some array:

cppint arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};

Given a variable:

cppint n = 3;

Turn this array into a two-dimensional array, with n elements per subarray.