Question: C programming 1. ht N Write a C function named SplitAndSummarize that receives three different (2D) two dimensional arrays all of type integer. The received
C programming 

1. ht N Write a C function named SplitAndSummarize that receives three different (2D) two dimensional 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 10 X 6. Your function is supposed to split the array A into two halves, the left side half will be stored in B and the right side half will be stored in C. The extra column for B and for C will include the minimum of the values in the corresponding rows for B and Crespectively. See Below Example: Array B will be 77 4 10 94 Assume this is the input arrayA 55 1 7 1 1 77 4 10 9 4 8864 24 2 3 22 5 5 1 7 1 3 5 276 76 9 24 2 3 8 96 2 67 685 37 2. 3 3 2 76 9 8 9 5 7954 74 9 774 37 2 3 3 4 1 938 65 10 88 5 74 9 7 7 9 3698 6 5 10 10 65 8 6 10 5 8 9 10 548 9 5 4 5 4 6 10 6 4 9 10 10 6938 4 9 6 9 5 4 4 6 10 6678 4 74 496 4 7 8 8 897 And Array C will be 4 886 4 4 3 5 276 2 6 7 6 8 5 5 5 795 4 4 4 1938 1 9 36 983 6 10 5 484 10 69383 10 6678 6 8 889 77 Screenshot 2. Write the main function that Defines a 2D array of size 10 X 10 named X Defines another two 2D arrays of size 10 X6 named Y and Z respectively Initializes the elements of the variable X with random integers between 1 and 10 (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 2 7 7 1 3 4 9 6 3 4 7 4 6 3 8 i 10 4 7 2 9 8 10 3 i 10 3 3 9 10 8 10 4 2 10 5 8 4 7 2 1 7 4 6 6 5 8 7 6 5 6 3 6 5 8 8 9 7 9 9 5 3 1 7 10 3 3 10 7 3 4 8 7 2 5 6 i 7 10 4 5 4 2 5 7 5 1 2 3 7 5 4 8 i 10 10 7 ===== 4 8 4 3 1 1 2 10 10 2 7 8 9 3 4 7 4 4 3 10 5 6 10 10 9 10 1 3 2 4 8 3 2 2 5 3 7 7 7 7 1 5 6 8 6 5 6 8 9 6 9 9 5 3 9 7 10 1 3 1 6 7 1 7 1 3 8 4 8 3 10 7 3 4 8 7 2 5 6 1 7 10 4 5 4 2 5 7 5 2 2 7 1 6 1 3 2 i 1 2 1 8 4 1 1 10 2 10 3 4 3 7 6 8 5 5 4 7 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
