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.

SET turn_angle=360n\text{SET turn\_angle} = \frac{360}{\text{n}}

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