Jump to content

Activities/Turtle Art/Tutorials/Triangular Numbers Program: Difference between revisions

From Sugar Labs
Mokurai (talk | contribs)
TA Triangular Numbers Program
 
(No difference)

Revision as of 11:37, 23 July 2012

Turtle Art program to generate and annotate triangular numbers.

Main program

Set up variables and place turtle

Put captions above table of annotations

Create triangle of colored dots with annotations

Create one line of diagram, including annotations

Write number of dots in line, and total number of dots so far in new row of table