I'm teaching programming to an unschooled 15 year old kid with a 3 hour attention span.
We're up to: "Add all the numbers between 1 and 1000 (use a loop)"
jeffa's node on Guass's methodis quite interesting. Does anyone have a series of questions to led the kid about half of the way to the formula?
In reply to (OT?) n(n-1)/2 by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |