Develop a C-code to calculate average, median and standarddeviation, using 5 numbers as data you input from the keyboard fromcalculations and compare program output with the hand calculationsshown with formula for average, median & standarddeviation..
Use suggested approach below for developing the code (otherapproaches are also possible):
In mainĀ Ā Ā Ā define an array of size = 5,
Read in 5 decimal numbers and print the chosen numbers forinput; Store input as a array and work with the array only;
define a pointer pointing to the beginning of an array,
pass the array using pointer to function to function_average tocompute āaverageā that is passed back to main;
pass the array using pointer to function to function_median tocompute āmedianā that is passed back to main;
pass the array using pointer to function_standard_derivation tocompute āstandard deviationā that is pass bac to main;
print results of the computed āaverageā, āmedianā and āstandarddeviationā with words of
āAverage of the input five numbers areā, āMedian of the inputfive numbers isā and āStandard Deviation of the input five numbersisā
Create function_average
Create function_median,
Create function_standard_derivation