"); newWindow.document.write("

Error in Input

Maximum Number should be greater than Minimum number
"); newWindow.document.write("
Hosted by www.Geocities.ws

"); newWindow.document.close(); } else { today = new Date() // create document newWindow.document.write("Addition Test"); newWindow.document.write("
"); newWindow.document.write("Students Name :"+" "+document.addtable.name.value+ "
Teachers Name :"+" "+document.addtable.teacher.value+ "
Date :"+" "+today) newWindow.document.write("

") newWindow.document.write("") newWindow.document.write("") for (var m = 1 ;m <= 10 ;m++){ x = Math.random() y = x * 1000 a = Math.round(y) while( a < minimum || a > maximum) { x = Math.random() y = x * 1000 a = Math.round(y) } x = Math.random() y = x * 1000 b = Math.round(y) while( b < minimum || b > maximum) { x = Math.random() y = x * 1000 b = Math.round(y) } newWindow.document.write("") newWindow.document.write("") newWindow.document.write("") newWindow.document.write("") newWindow.document.write("") newWindow.document.write("") newWindow.document.write("") newWindow.document.write("") } newWindow.document.write("
Addition
"+m+") "+a+" + "+b+" =    

") newWindow.document.write("


This page was created at http://www.geocities.com/shankara_c") newWindow.document.write("
Hosted by www.Geocities.ws

"); // close the document - (not the window!) newWindow.document.close(); } } //-->
home/ Java Script/ Add Table

Addition Test Sheet

I wrote this JavaScript to create a random addition test sheet for my daughter Apeksha Shankar to hone her addition skills. Each time you press CREATE ADDITION TABLE button a new test sheet is generated, print it and use it. This script need Netscape or InternetExplorer above Ver 3.0

Students Name
Teachers Name
Maximum Number
Minimum Number

I hope that this will be of some use to you. This program is Postcardware, if you like the program Please feel free to send me a postcard.

Shankar Chakkere
19659 Crystal Rock Dr #12
Germantown
USA
__________________________________________________________________

Back to Shankar's Home Page
Hosted by www.Geocities.ws

1