The following program uses the Square(n) function to draw a pattern.
Two values haveĀ been missed out from the code.
Complete the code by filling in the values in the two boxes. (2)
Repeat – 8 (1 mark)
Rotate – 45 (1 mark)
Watch for other solutions 8,135 would also draw the correct pattern of squares.