I have built the Multiplication table 3 different ways.
Error code is 10x10 Table / Array is not *initialized / instantiated. No clue ... see code
package en.codegym.task.pro.task05.task0509;
// import java.io.;
/*
Multiplication table
*/
public class Solution {
public static int[][] MULTIPLICATION_TABLE;
public static void main(String[] args) throws Exception {
// public static int[][] MULTIPLICATION_TABLE(int i, int j);
// int [][] = new int[i][j];
// int[][] dataBrick = new int[][];
// dataBrick = MULTIPLICATION_TABLE int();
int row = 0;
int i = 1;
while ( i <= 10 ) {
int j = 1;
while ( j <= 10 ) {
row = row + j;
System.out.print(i * j + " ");
j++; }
System.out.println(""); i++;
}
}
}