Question: can it be in programming language C, thanks! /* * You can copy and modify the below code */ #include #include /* this function returns

can it be in programming language C, thanks!
/* * You can copy and modify the below code */ #include
Write a program that ask user to enter two integers X and Y, and two doubles minZ maxZ. It then allocates a dynamic 2D array consisting of X rows and Y columns of double values, and sets each value in the 2D array by randomly generating a number between minZ and maxZ. If (minZ- maxZ), then simply set each value in the 2D array to minZ. Then print the overall sum of all the values in the whole 2D array, the sum of each row, and the sum of each column. Here is a sample output When the input is for X Y minZ maxZ Your output should be as follows Overall sum30.0 Sum of each row Row06.0 Rowl6.0 Row26.0 Row3 = 6.0 Row46.0 sum of each c 1umn 10.0 10.0 10.0 At the end we provide the template and a function to generate random numbers. Copy that program and modify it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
