I've asked to write a program that have these specifications.
Write a program that draws an output window of 600 by 400 pixels. When you press the
mouse in the upper left quadrant, it draws a red circle, when you press the mouse in the
lower left quadrant, it draws a blue circle, when you press the mouse in the upper right
quadrant, it draws a green circle, and when you press the mouse in the lower right
quadrant, it draws a black circle. All circles are borderless and have diameter of 20 pixels.
A sample screenshot is provided below.
1