Click here to Skip to main content
15,898,587 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
heey
I have an assinment for collage for a coarse called " visual programming" we use the " visual c# "
i have done it but still have one single problem which is how to calculate the average of the items i added in the list box

{it is like we have a textbox and each time i suppose to type a grage of a student" and when i click in the average button it has to calculate the average and display it in a lable}:confused: :confused:

my problem is i couldn't figure out how to do the average thing :((


ANY ANSWERS, PLEASE :sigh:
Posted
Updated 9-Dec-09 7:12am
v2

1 solution

Of course, Since you are in a programming course (and in college), I would assume you DO know how to calculate an average. If not, I would suggest http://www.dtc.dla.mil/qa/Calcaverages.htm

You have all the data you need. calculating the average is easy.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900