How do you draw a decagon with MSWLogo?
A decagon is a 10-sided polygon. To draw a regular decagon in
MSWLogo, first create the following procedure:
to decagon :n
repeat 10 [fd :n rt 36]
end
Now invoke it:
decagon 100
This creates a decagon with sides of length 100.