Expand|Select|Wrap|Line Numbers
- private int [][] a;
- public Matrix(int r, int c)
- {
- a = new int [r][c];
- }
Expand|Select|Wrap|Line Numbers
- for(int i=0; i < rowsA; i++)
- for(int k=0; k < columnsA; k++)
- {
- valA = readInt("Enter a value for position (" + i + ", " + k + ") of Matrix A: ");
- }
Thanks,
Lacey
Also, we are using the platform Dr. Java which imports the ACM library but any help would be appreciated!