Quote:
quote:Originally posted by plomoscky
how can i make a two imentional array in creating a program in which the user will input their grade in midterm exam an prefionals then compute their grades using an array the output will automatically show the final gradde and after they enter the midterm grade it i automatically whent to pre final it is in a table basics.thanks i hope you can help me
|
Making a two dimensional array is simple. The following will make a 2 dimensional array that will hold values of type double:
Code:
Dim a(5, 5) As Double
Here is one that can hold just about anything:
Code:
Dim a(5, 5) As Variant
Each of these arrays will have a matrix that is 6 x 6 elements (0 through five for each dimension).
However, it looks like what you are asking is for someone to do a homework assignment for you. I would guess that the "how-to" for what you are asking is in the course material for the class you are taking. If you have specific questions, just post them here.
Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
My blog... please visit