int shaft = 6;
int grades = 8;
int[] [] board= newlightlightlight int[rows][cols];for (intgrade = 0;row<rows;row++){
for int col = 0 ;col<cols;col++{ board [row][col] = grade *col;
}
},ho wto pull grounds constitution in java
Dear Student,
here i bear written the perfect Java program.
Note: The lowerneath program has been written lower ubuntu 16.04 rule and compiled unsing javac compiler. This program procure as-well fruit on other IDE’s i.e Eclipse and Netbeans.
—————————————————————————————————————————————–
Program:
—————————————————————————————————————————————–
//import the requisite packages
import java.util.Scanner;
public tabulate Calculator
{
public static invalid deep(String args[])
{
int cols = 6;
int grades = 8;
int[] [] board= newlightlightlight int[rows][cols];
for (int grade = 0; grade<rows; grade++)
{
for (int col = 0 ;col<cols;col++)
{
board [row][col] = grade *col;
System.out.printf(“%d “, board[row][col]);
}
System.out.println(“n”);
}
}
}
——————————————————————————————————————————————
here i bear fast the quenchedput of the ardent program as a harbor shot…
Output: