Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 11th, 2008, 10:40 PM
Registered User
 
Join Date: Jan 2008
Location: makati city, , Philippines.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to plomoscky
Default 2 dimentional array

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

  #2 (permalink)  
Old January 14th, 2008, 12:50 PM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convering a String Array to an Integer array nkrust C# 9 November 17th, 2010 12:02 PM
Go from 2d Array to 1d array without defining type OneQuestion General .NET 1 January 10th, 2008 11:13 AM
2 dimentional array ie_lml Pro VB 6 3 November 23rd, 2004 03:13 PM
Passing php array values to javascript array gkrishna Pro PHP 0 November 6th, 2004 03:20 AM
accessing a two dimentional collection array levinll Beginning VB 6 0 September 2nd, 2004 01:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.