C program with the next specs :
• An array of a variable dimension (n)
• A variable (y) of kind integer
• The algorithm ought to divide the array into n/y elements
• Calculate the typical for every half
• Lastly discover the utmost worth among the many averages