Complete the following code segment to create a 2-dimensiona…

Complete the following code segment to create a 2-dimensional dynamic array myArray of dimensions. Assume the user inputs two positive integers.  Numbers at the left indicate code line numbers, provide a line of code on each line.  Note: in case you need for-loops, use variables i, j  (in that order)   1 int xrow, ycol, **myArray; 2 cin >> xrow >> ycol;3 4     5