Exercise 19 - due at 11:59:00 PM on 11/14/2021 All 3 problems can be solved in the same program. 1. Declare a dynmaic double variable. Ask the user for a value and store it in the dynamic double variable. Then print the cube of that number. Sample Run: Enter a number: 2.5 The cube is 15.625 2. Write a C++ function that accepts an integer 'N' as a parameter. Create a double array of size N. Then, accept N values from the user and store the square roots of the numbers in the array. Finally, return the array to main and print it. MAke sure you delete the array after use. Sample Run: Enter the number of values: 5 Enter the values: 2.5 9 10.01 16.64 19 The Square Roots are: 1.5811 3 3.1639 4.0792 4.3589 3. Write a C++ program that accepts the number of rows and colums from the user. Create a dynamic 2D array with the given number of rows and columns. Read in the values from the user. Then, print he elements along the main diagonal of the matrix. The main diagonal is all values where the row number is the same as the column number. Then, delete the array. You can do all this in main. Sample Run: Enter the number of rows: 4 Enter the number of columsn 5 Enter the values: 12 16 23 -21 5 18 56 -8 19 11 45 67 2 90 41 -98 0 100 31 123 The leading diagonal is: 12 56 2 31