Computer Science, asked by luraghwendra1310, 9 hours ago

what is the command for nonagon in MSW logo?

Answers

Answered by rajgupta05012005
1

Basic CommandsForward e.g. forward 200 [makes a line 200]Back e.g. back 100 [goes back 100]Right e.g. right 90 [turtle turns right through a 90 degree angle]Left e.g. left 45 [turtle turns left through a 45 degree angle]PenUp PenDownHideTurtleShowTurtlePenerasePenPaintHideTurtle

Abbreviated commands for the list above(these can be typed into the command window)FD 200 BK 100 RT 90LT 90PUPDHTSTPEPPTCS 

Commands for basic 2-D shapes

Square

Repeat 4 [fd 200 rt 90]

Rectangle

Fd 300 rt 90 fd 150 rt 90

Fd 300 rt 90 fd 150 rt 90

Circle

Repeat 360 [fd 3 rt 1]

Triangle

Repeat 3 [fd 300 rt 120]

Pentagon

Repeat 5 [fd 200 rt 72]

Hexagon

Repeat 6 [fd 200 rt 60

Octagon

Repeat 8 [fd 150 rt 45]

Nonagon

Repeat 9 [fd 150 rt 40]

Decagon

Repeat 10 [fd 100 rt 36]

Similar questions