We read your photo as:
What's next in this algorithm to draw a regular polygon using Logo turtle graphics, given SET turn_angle = 360/n?
Computer Science
ScanSolve AI Answer
Answer
To continue your algorithm with 'SET', you will use the formula for the exterior angle of a regular polygon.
Step 1: Calculate the turn angle.
Your algorithm would then look like this:
Begin
input number of sides n
input side length s
SET turn_angle = 360 / n
Was this helpful?
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
Got a different question?Ask your own question
More Computer Science Questions
QWrite an algorithm to draw a regular polygon with n sides of length s.QAlgorithm: Draw Regular PolygonQUse the formula for the exterior angle of a regular polygon.QDraw in all the lines of symmetry for each regular polygon. Complete the table.QA polygon has each interior angle measuring 175°. Determine the number of side of the polygon.
Browse by topic:Algorithms