Question: c 2. Write the main function that Defines a 2D array of size 10 X 10 named X Defines another two 2D arrays of size
c
2. Write the main function that Defines a 2D array of size 10 X 10 named X Defines another two 2D arrays of size 6X 10 named Y and Z respectively Initializes the elements of the variable X with random integers between 1 and 70 (inclusive) Properly calles the function SplitAndSummarize defined in part1 Properly print the elements of the three arrays in a tabular format as in the sample run Sample Run 32 17 3 32 20 30 4 66 55 8 13 47 48 29 43 54 27 56 46 39 61 38 21 48 53 62 22 5 3 27 27 6 40 10 69 50 51 44 14 3 60 35 37 67 25 19 50 46 57 41 38 18 24 6 38 5 23 67 11 13 44 49 33 3 37 14 57 45 61 40 15 52 7 30 3 58 52 66 37 4 24 65 5 3 51 32 8 1 48 27 46 5 29 29 47 30 50 Vrite a C function named SplitAndSummarize that receives three different (2D) tw imensional arrays all of type integer. The received arrays are of the following sizes: The first array A will contain data of size 10 X 10 The second and third arrays (B and C) have the same size which is 6 X 10. Four function is supposed to split the array A into two halves, the upper half will be tored in B and the lower half will be stored in C. The extra row for B and for C will nclude the minimum of the values in the corresponding columns for B and C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
