What would be the psuedo code to :
recursively draws squares. The picture shown below depicts squares drawn recursively on each of the 4 corners of a square.
• The base case is draw nothing for n = 0.
• The reduction step is to draw, on each corner of a square, another square which is halved in size.
(The ratio of the sizes of the squares is 2, that is length of the sides of the square is halved at each level)
Im using the Stroustrup GUI library for FLTK.