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)
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
}
}
}
Thanks