User:Duckweewee

Multiplication Table



var rows = prompt("How many rows for your multiplication table?");

var cols = prompt("How many columns for your multiplication table?");

if(rows == "" || rows == null)

rows = 10;

if(cols== "" || cols== null)

cols = 10;

createTable(rows, cols);

function createTable(rows, cols)

{

var j=1;

var output = " ";

document.write(output);

}