Mean and Standard Deviation

soccerbum84

New member
Joined
Nov 8, 2004
Messages
3
Programming Experience
3-5
I'm in a beginner VB.net calss and I am working on a program that has has an array with 20 grades. I have to compute the mean and the standard deviation, and then assign a letter grade based on each exam score. I have no idea how to approach the mean or the standard deviation. I know in common terms, the mean is just the sum of all the grades / n (in this case 20). I dont know how to write that in code or even how to approach the standard deviation. Any help would be greately appreciated.

This is the array:

Dim grades() As Integer = {59, 60, 65, 75, 56, 90, 66, 62, 98, 72, 95, 71, 63, 77, 65, 77, 65, 50, 62}


Please help me. I am on AIM at soccerbum84 or just reply here. Thank you so much
 
Back
Top