Write a C program for the followig: Enter the number n to randomly print n values less than 1000, print the maximum, minimum, and arithmetic mean (three digits after the decimal point is printed)
Example:
Input:
5
Output:
266
180
43
157
179
max:266
min:43
average:165.000