Question: Can someone help me with this question please.. Part 1. Write a function with header given as folloMa or cint? expand 2D vector vector vector

Can someone help me with this question please..
Part 1. Write a function with header given as folloMa or cint? expand 2D vector vector vector int veco int m Suppose that the input 2D vect vec0 has r rows and c columns the above function returns a vect with rtn and c n columns The original values in the vector veco remain unchanged in the expanded elements in the expanded vector the other This function should be defined in a file with nane labetask2 expand 2D vector-cpp Part 2. Write a main function to generate a 2D vector The main function gets two positive integers and y from the user suppose that the user al Maya inputs two positive integers then generates a 2D int vector veel with x rows and y columna The elements are set as random integers in the range 10 50 This vector is printed to the screen. The main function then generates two random integers ran0 and ranl in the range call the function expan 2D vector the rows of the above vector rano rows. and to increase the columns by ranl columns. This modified vector is printed to the screen in the main function. The main function should be defined in a file with name lab6task2.cpp Note that your program should use the C++ randon engine mit 19937 to and use time generate the randon numbe
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
