-
help
I'm trying to write a program that adds numbers to a list box then has buttons that will show the total mean median variance..but I am having trouble for some reason..it' doesn't seem that it should be too hard but I can't get it to work...and help with the code would be greatly appreciated..Thanks..corey
-
Store all the values in the listbox into an array. Then loop through the array and do what you need to do.
Code:
for i = 1 to whatever
total = total + array(i)
count = count + 1
next
average = total / count