Link to home
Start Free TrialLog in
Avatar of archrajan
archrajan

asked on

Arrays!

Hi Have this:
class IDMatrix {

  public static void main (String args[]) {
 
    double[][] ID;
    ID = new double[4][4];
 
    for (int row=0; row < 4; row++) {
      for (int col=0; col < 4; col++) {
        if (row != col) {
          ID[row][col]=0.0;
        }
        else {
          ID[row][col] = 1.0;
        }
      }
    }
   
  }
 
}
How do i create the html table for this??
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of archrajan
archrajan

ASKER

Thanks a ton for the speedy response!
fun and easy!
:-)