Question: . 1. Write a function named SplitAndSummarize that receives three different (20) two dimensional arrays all of type Integer. The received arrays are of the

 . 1. Write a function named SplitAndSummarize that receives three different
(20) two dimensional arrays all of type Integer. The received arrays are

. 1. Write a function named SplitAndSummarize that receives three different (20) 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 6 X 10. Your function is supposed to split the array A Into two halves, the upper half will be stored in B and the lower half will be stored in C. The extra row for B and for C will include the minimum of the values in the corresponding columns for B and Crespectively. See Below Example: Amay B will be . 7 4 10 9 2 10 8 6 Assume this is the input arayA 10 8 2 6 6 9 5 7 6 ---- 9 8 3 6 6 2 6 8 5 9 6 8 6 8 6 5 7 4 10 7 3 5 7 6 6 9 7 2 3 5 6 9 7 3 6 8 61355 74 3 4 87 4 108 1 98 86 9 97 2 84 9 6510 6510 95 4 49 6 10 8 6 4 9576 768 5 7 45 4. 9 739 962 9 154 8 223 1 347 4 2 3 4 5 8 6 5 3 5 6 7 7 8 8 6 9 10 1 4 6 1 4 71 And Anay C will be 8 4 9 7 7 1 9 6 2 6 10 8 8 6 1 5 inn 6 10 9 10 1 2 2 4 31 7 4 9 5 4 4 6 1 3 4 9 6 4 7 1 2 a 4 5 4 444 6112 21 2. Write the main function that Defines a 2D array of size 10 X 10 named X - Defines another two 2D arrays of size 6 X 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 4 44 3 32 20 30 67 11 13 29 3 37 14 57 38 21 48 S3 62 22 5 3 27 27 40 10 69 SO si 48 46 29 29 14 3 60 35 37 67 25 19 50 54 27 56 46 39 61 46 57 41 38 18 24 6 38 S 23 32 17 6 3 51 32 45 61 30 3 58 52 66 37 4 24 65 5 66 55 8 13 8 49 33 27 5 64 47 40 15 52 7 30 50 44 44 14 32 20 30 3 47 48 29 43 54 29 38 21 48 53 62 21 6 40 10 69 50 6 3 60 35 3 46 57 41 38 18 18 67 11 13 44 49 11 3 37 14 57 45 30 32 3 17 58 6 52 3 66 51 3 4 66 55 @ 27 56 46 39 22 5 3 27 51 48 46 29 37 67 25 19 24 6. 38 5 33 27 5 64 61 40 15 52 37 32 4 8 24 65

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!