Results 1 to 2 of 2
Thread: Help with matrix
- 07-13-2007, 10:05 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 44
- Rep Power
- 0
Help with matrix
I'm doing a program in my Java class that I just need a tad bit of help with, I need to get the matrix arrays to get the data the right way...currently my program (without the print function)
ThanksJava Code:import javax.swing.*; public class matrixArray { public static void main( String args[] ) { int testScores[][] = new int[ 3 ][ 3 ]; fillScores( testScores ); System.exit( 0 ); } public static void fillScores( int[][] ftestScores ) { for( int row = 0; row < ftestScores.length; row++ ) { for( int column = 0; column < ftestScores[ row ].length; column++ ) // I'm using Input dialog boxes to retrieve the data from the user and I'm wondering how I will put the data into the arrays } } }
- 08-07-2007, 04:37 AM #2
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
Help with dox matrix printer
By Albert in forum Advanced JavaReplies: 7Last Post: 09-06-2011, 08:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks