Write a graphical application that includes a class that defines a flower with a red center whose petal color and location is specified when a Flower object is constructed. When launched, the program should display a garden of 100 flowers at random locations on the lower portion of the game board. The (x, y) locations of the flowers will be randomly generated and be in the range (7 ≤ x ≤ 500 – w) and (300 ≤ y ≤ 500 – h), where w and h are the width and height of the flower.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here