Question: c++ Write a program that opens up a 2D integer array (**numberDBase) via dynamic memory allocation based on the user input. First, the user will

c++
Write a program that opens up a 2D integer array (**numberDBase) via dynamic memory allocation based on the user input. First, the user will enter how many ID arrays there will be (i.e., rows) within the 2D array (rowCount). Then, the user will give that many integers each represent the size of each ID array within the 2D array (columnCount[]). After opening up the 2D array, the program will start putting numbers inside the integers of the 1D arrays within this 2D array. The oth element of each 1D array will start from 2 and each consecutive element will have the next integer number Example: 3 1 4 5 means : the 2D array will have the size of 3 oth ID array within this 2D array will have the size of 1 13* 1D array within this 2D array will have the size of 4 2nd 1D array within this 2D array will have the size of 5 NOTE: The sizes of each 1D array will be given as AT LEAST 1. You DO NOT need to check this. 5 1 1 1 3 2 9 3 Input 4 3 1 5 2 1 2 3 4 2 Output 12 3 4 5 6 12 3 Nee 2 3 3 4 5 6 7 8 9 10 34
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
