- ARCHIVE / TAG ARCHIVE
- Javascript-Session 2-Multiplication Table 3
A multiplication table where the number of rows are randomly generated from a number between 10 and 20 by passing on the variable RandomNumRow; and columns from 1 to 5 by passing on the variable RandomNumCol. Here is the link, refresh to generate new numbers.
<html>
<body>
<script language=”JavaScript”>
document.write(’<table border=0>’);
//—creates random number for rows—
minimum = 10;
max = [...] - Javascript-Session 2-Multiplication Table 2
A multiplication table where the number of rows and columns are randomly generated from a number between 1 and 10 by passing on the variable RandomNum. Here is the link, refresh to generate a new number.
<html>
<body>
<script language=”JavaScript”>
document.write(’<table border=0>’);
minimum = 1;
max = 10;
numb = genRand(minimum, max); //call function, pass and receive data
function [...]