"); document.write("
" + entry + " | ");
}
if (fill == "prompt")
{
entry = prompt("Enter a value for the cell in row " + (i + 1) + ", column " + (j + 1));
document.write("" + entry + " | ");
}
}
document.write("
function checkRange(x,low,high) { var x; var low; var high; var result = true; if (x < low || x > high) result = false; return result; } function charAtPlace(x, y, z) { var x; var y; var z; var result = false; if (x.charAt(y-1) == z) result = true; return result; } function checkForChar(x, y) { var x; var y; var i; var lgth; var result = false; lgth = x.length; for (i=0; i < lgth; i++) { if (x.charAt(i) == y) result = true; } return result; } function checkPercent(x, y, z) { var x; var y; var z; var percent; percent = (y/100)*x; if (z == "y") return (x - percent); else return percent; } function checkWord(x,y) { var x; var y; var spell = true; if (x != y) spell = false; return spell; } function buildTable(rows, cols, fill, style) { var rows; var cols; var fill; var ranNum; var i; var j; var style; document.write(""); document.write("
"); document.write("
" + entry + " | ");
}
if (fill == "prompt")
{
entry = prompt("Enter a value for the cell in row " + (i + 1) + ", column " + (j + 1));
document.write("" + entry + " | ");
}
}
document.write("