to countdown :number print :number countdown :number-1 if equalp :number 0 [stop] endThis procedure is supposed to look like this when run:
? countdown 5 5 4 3 2 1 0 ?Try it -- it doesn't work! Use the Logo menu to stop the procedure.
Why doesn't the procedure work?
Bonus (5 pts) Write a recursive procedure triangleview that draws a collection of nested triangles similar to those shown below.