MULTIDIMENSIONAL ARRAY : PRINTING TABLES

MULTIDIMENSIONAL ARRAY : PRINTING TABLES


<!DOCTYPE html>
<html>
<head>
<title>JAVASCRIPT</title>
<script type="text/javascript">
    document.write("<table border= 1px");
    for(var i=1;i<=10;i++)
    {
document.write("<tr>");
for(var j=1; j<=10;j++)
{
document.write("<td >");
document.write(" " + i*j + " ");
  document.write("<td>");
}
document.write("<tr>");
    }
    document.write("</table>");
</script>
</head>
<body >
</body>
</html>


Comments

Popular posts from this blog