drawing an english ruler in the case of computing factorialthere is no compelling reason for preferring recursion over direct iteration with loop as more complex example of the use of recursionconsider how to draw the markings of typical english ruler for each inchwe place tick with numeric label we denote the length of the tick designating whole inch as the major tick length between the marks for whole inchesthe ruler contains series of minor ticksplaced at intervals of / inch / inchand so on as the size of the interval decreases by halfthe tick length decreases by one figure demonstrates several such rulers with varying major tick lengths (although not drawn to scale--- -- --- --- --- ( ( (cfigure three sample outputs of an english ruler drawing(aa -inch ruler with major tick length (ba -inch ruler with major tick length (ca -inch ruler with major tick length recursive approach to ruler drawing the english ruler pattern is simple example of fractalthat isa shape that has self-recursive structure at various levels of magnification consider the rule with major tick length shown in figure (bignoring the lines containing and let us consider how to draw the sequence of ticks lying between these lines the central tick (at / inchhas length observe that the two patterns of ticks above and below this central tick are identicaland each has central tick of length