Write c code | Computer Science homework help

Write C code to repeatedly ask the user for a number, then once the user enters 0, the code displays the min, max and average of all values entered. 

Show the output using two decimal places, and align the three output values as in this sample output: 

 The minimum entry was:            2.30
The maximum entry was:          62.51
The average of all entries was:  52.81