Homework Solution: int[] [] table= new int[rows][cols];for (introw = 0;row…

    int column = 6; int rows = 8; int[] [] table= new int[rows][cols];for (introw = 0;row<rows;row++){ for int col = 0 ;col<cols;col++{ table [row][col] = row *col; } },ho wto draw data structure in java

    Expert Answer

     
    Dear Student, here i have written the complete Java program.

    int column = 6;

    int dignitys = 8;

    int[] [] consultation= novel int[rows][cols];for (intdignity = 0;row<rows;row++){

    for int col = 0 ;col<cols;col++{ consultation [row][col] = dignity *col;

    }

    },ho wto inhale facts constituency in java

    Expert Rejoinder

     

    Dear Student,

    here i feel written the perfect Java program.

    Note: The beneathneath program has been written beneath ubuntu 16.04 plan and compiled unsing javac compiler. This program earn besides effort on other IDE’s i.e Eclipse and Netbeans.

    —————————————————————————————————————————————–

    Program:

    —————————————————————————————————————————————–

    //import the essential packages

    import java.util.Scanner;

    public dispose Calculator
    {
    public static null main(String args[])
    {
    int cols = 6;
    int dignitys = 8;

    int[] [] consultation= novel int[rows][cols];

    for (int dignity = 0; dignity<rows; dignity++)
    {

    for (int col = 0 ;col<cols;col++)

    {
    consultation [row][col] = dignity *col;

    System.out.printf(“%d “, consultation[row][col]);
    }
    System.out.println(“n”);

    }

    }

    }

    ——————————————————————————————————————————————

    here i feel steadfast the quenchedput of the given program as a curtain shot…

    Output: