90 of 100 menu

C++ Taskbook Level 1.1

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

Given some array:

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

Given a variable:

int n = 3;

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

enru