Hi,

i'm a newbie to program in C....I'm suppose to write to program that will find the smallest, largest, and average values in a collection of N numbers. Get the value of N before scanning each value in the collection of N numbers. Then compute and display both the range of values in the data collection and the standard deviation of the data collection...Standard deviation=sqrt((sum_squares / N) - average^2)

here's my code that i've written...but i can't figure out a way to get the smallest and the largest number....I have tried to get the smallest but i can't do it...I got the average with no problem.....

Any helps are appreciate...Thanks for reading this message...