1 Attachment(s)
Array Work in grades project
I am trying to make a program to calculate my grades in my classes this term. but I don't quite know how to use arrays yet (* i just started learning VB.net and its my first language) I just finished designing the user interface... (*see attachment)
Any help to get this started would be great...
Honestly, its just getting started. I have a book called... The Visual Basic.net Coach.... and i'm reading about arrays but i'm still stuck on even how to go about starting this project.... here... I start out i have to define variables... for example
VB:
--------------------------------------------------------------------------------
Dim HomeworkAverage As Single
Dim QuizAverage As Single
Dim TestAverage As Single
For Each Grade As Single In Homeworks
HomeworkAverage += Grade
Next
HomeworkAverage /= Homeworks.Length
For Each Grade As Single In Quizs
QuizAverage += Grade
Next
QuizAverage /= Quizs.Length
For Each Grade As Single In Tests
TestAverage += Grade
Next
TestAverage /= Tests.Length
Dim OverallAverage As Single = (5 * TestAverage + 3 * HomeworkAverage + 2 * QuizAverage) / 10
--------------------------------------------------------------------------------
I know its something like this, but i'm not really sure where i'm going wrong, or where to go from here.
Another thing. If you look at the user interface, what am i suppose to do with the "add score" button... add to what? how?