Please write a code in C.
【General guidance】The answer provided below has been developed in a clear step by step manner.Step1/2Bubble sort:Bubble sort is a sorting algorithm that compares two adjacent elements and swaps them until they are in the intended order.Max:Maximum element in the arrayMIn;:Minimum element in the arrayRange:Max-MinMean:Average of the arrayMedian :Midlle element of the arrayExplanation:Please refer to solution in this step.Step2/2#include #includevoid bubblesort(int array[], int size) { ... See the full answer