subject

Write a program that will draw a regular polygon with a number of sides chosen by the user. for example, if the user chooses 4 sides, have the turtle draw a square. if the user choose 10, have the turtle draw a 10 sided polygon. make the length of the sides 50. hint: there are 360 degrees in a complete polygon. so the number of degrees in each angle will be 360 / n where n is the number of sides that the user wants. so your angel formula will be angle = 360 / n .

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
You know the right answer?
Write a program that will draw a regular polygon with a number of sides chosen by the user. for exam...
Questions
question
Mathematics, 11.06.2020 00:57
question
Physics, 11.06.2020 00:57
Questions on the website: 13722362