Answer the following questions.
Question 1) Write a GraphicsProgram subclass that draws a pyramid consisting of bricks arranged in horizontal rows, so that the number of bricks in each row decreases by one as you move up the pyramid.
Question 2) Suppose that you’ve been hired to produce a program that draws an image of an archery target or, if you prefer commercial applications, a logo for a national department store chain.
Question 3) Write a GraphicsProgram subclass that draws a partial diagram of the acm.program class hierarchy as given below:
Question 4) Write a ConsoleProgram that reads in a list of integers, one per line, until a sentinel value of 0 (which you should be able to change easily to some other value). When the sentinel is read, your program should display the smallest and largest values in the list.