Question: 1.Need a code that opens a medium gray 500x400 graphics window and draws a circle of diameter of 100 anywhere in the window. Fill the

1.Need a code that opens a medium gray 500x400 graphics window and draws a circle of diameter of 100 anywhere in the window. Fill the circle with white. ( exam points 10/100)

2. Write code to draw an equilateral triangle and inscribe a circel within the triangle. Fill the triangle with green and the inscribed circle with red. (points 15/100)

3. Need a piece of code that opens a 500x400 graphics window and

a. draws a 100x100 square centered in the window.

b. fills the square with medium gray.

c. toggles the fill of the square to bright blue when the mouse is pressed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!