Hey guys, brand new to this forum. I'm not sure if I'm posting in the right place.
I have looked in my textbook and searched online and cannot find anything that fits my situation. I know this is easier than I'm making it, but I'm new to coding and really need some help. For this project I am supposed to put theses particular values into an array {scores(19)}. Then I am supposed to write the program to find the mean and standard deviation of the values in the array. Finding the mean was easy. However, the standard deviation is a little more difficult. The formula is as follows:

SD = math.sqrt((x(1) - m)^2 + (x(2) - m)^2)...(x(20) - m)^2)/n)

where x is the array, (1,2...etc) is the element in the array, m is the mean and n is the total number of elements in the array.

My problem is figuring out how to tell VB to handle each element separately. I have no problem writing a loop to add the elements together, but I'm having big issues using each element as a standalone value.

Please help, please let me know if this is answered somewhere else, and please let me know if I need to clear this up. This project is due monday, November 30, 2009 and school is closed until then for the holidays.

Thanks for the help guys,
Erexshin