Draw a flower and then have it grow.
The flower should consist of a stem which is a thin rectangle whose base is at the bottom of the output window. At the top of the stem is a central circle, like a sunflower, with the stem the base of the circle. The petals should consist of a bunch of smaller circles centred on the central circle. The petals may overlap if you wish.
You must have at least 4 classes defined.
1) Pointt a point with an x and y coordinate. (Note double t)
2) Circle whose attributes are a point and a radius.
3) Stem a rectangle with a length, a width and the centre of the base at point (250,500)
4) Flower which have attributes Stem, Circle, an array of circles which are the petals. As discussed in class.
THANKS