| www.richandlucy.com | © www.richandlucy.com |
|
Home
|
Photos
|
Stuff
|
Forum
|
|
|
> Stuff > Lucy's Portfolio! > Javascript Example 6
You have 4 weights with which to weigh 1-40kg stone. The weights can be on either side of the scales and you do not need to use all the weights every time. Find the weights required to weigh every weight of stone between 1 and 40 In order to do this you will require:
You can see the page created here This script causes a few alerts and an error warning that your pc will run slowly
|
||||||||||||||
|
||||||||||||||