Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

Write the properties of Group theory.

Answered: 1 week ago

Question

How is slaked lime powder prepared ?

Answered: 1 week ago