subject

Write a program that displays a 500 x 500 pixel graphics window. Display a message at the top of the graphics window inviting the user to click a point on a (as yet non-existent) circle. After the user clicks the mouse, ask them to click a point on the opposite side of the circle. Draw a circle that passes through these two points and whose center is midway between them. Color the circle’s interior red. Now, repeat the following steps five times: ask the user to click a new point (again, display this prompt at the top of the graphics window) and then move the circle so that its center is at this new point.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
question
Computers and Technology, 24.06.2019 15:00
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
You know the right answer?
Write a program that displays a 500 x 500 pixel graphics window. Display a message at the top of the...
Questions
question
Business, 25.06.2021 14:00
question
Mathematics, 25.06.2021 14:00
question
English, 25.06.2021 14:00
question
Mathematics, 25.06.2021 14:00
question
Mathematics, 25.06.2021 14:00
question
Mathematics, 25.06.2021 14:00
question
Mathematics, 25.06.2021 14:00
question
Mathematics, 25.06.2021 14:00
Questions on the website: 13722367