answersLogoWhite

0

To draw a triangle using the repeat command in Logo, you can use the following code:

This command instructs the turtle to move forward 100 units and then turn right by 120 degrees, repeating this process three times to complete the triangle. Adjust the forward distance as needed for different triangle sizes.

User Avatar

AnswerBot

1mo ago

What else can I help you with?

Related Questions

How do you draw nonagon using logo command?

repeat 3 [fd 250 rt 120]


How do you draw hexagon using repeat command of logo?

To draw a hexagon using the repeat command in Logo, you can use the following code: repeat 6 [forward 100 right 60] This command will move the turtle forward by 100 units and then turn it right by 60 degrees, repeating this process six times to create a hexagon. Adjust the forward distance to change the size of the hexagon.


How do you make a house on MSWlogo?

To create a house in MSWLogo, start by using the REPEAT command to draw the square base of the house. Use commands like FORWARD and RIGHT to navigate and shape the walls. Next, use the TRIANGLE command or a combination of lines to create the roof. Customize your house by adding windows and a door with smaller shapes using similar commands.


How do you draw rectangle in logo with repeat command?

In Logo, you can draw a rectangle using the REPEAT command to create the four sides efficiently. For example, you can use the following code: REPEAT 2 [ FORWARD 100 ; length of the rectangle RIGHT 90 FORWARD 50 ; width of the rectangle RIGHT 90 ] This code moves the turtle forward to draw the length, turns right, and then draws the width, repeating the process to complete the rectangle.


How do you draw triangle in Microsoft logo?

repeat 3[fd 40 rt 120]


How do you make 3 equal part out of a triangle using the corners?

You draw a line segment from the corner to the opposing side's central point, then repeat with other two corners.


Flowcharting of pascal triangle?

draw a flowchart of pascal triangle using for loops


How do you make a flag in msw logo using repeat command?

To create a flag in MSW Logo using the repeat command, you can use the following steps: First, define the size and colors of the flag sections. Then, use the REPEAT command to draw rectangles that represent each section of the flag. For example, you can use REPEAT 3 [FORWARD 100 RIGHT 90 FORWARD 50 RIGHT 90] to create three horizontal stripes. Adjust the dimensions and colors as needed to achieve your desired flag design.


How do you draw a square using MSWlogo?

To draw a square using MSWLogo, you can use the REPEAT command to create the four equal sides. Enter the following commands in the command window: REPEAT 4 [FORWARD 100 RIGHT 90] This code instructs the turtle to move forward 100 units and then turn right by 90 degrees, repeating this process four times to complete the square. Adjust the number in FORWARD to change the size of the square.


When drawing a vector using the triangle method of addition how do you draw in the resultant vector?

When drawing a vector using the triangle method you will draw in the resultant vector using Pythagorean theorem. This is taught in physics.


How do you draw a triangle using logo commands using three lines?

fd 60 rt 120 fd 60 rt 120 fd 60 rt 120 will cause the turtle to draw a triangle. The square brackets indicate that the enclosed commands are to be executed three times, repeat 3 [fd 60 rt 120] Search Google with: "logo commands triangle" and have a look through the websites on the subject.


How do you do a donut in MSW logo?

To create a donut shape in MSW Logo, you can use the REPEAT command to draw two circles. First, use the REPEAT command to draw a circle with a smaller radius for the inner part of the donut, then draw another circle with a larger radius for the outer part. You can also use the FILL command to color the donut. Here's a simple example: REPEAT 36 [FORWARD 10 RIGHT 10] ; Outer circle FORWARD 20 REPEAT 36 [FORWARD 5 RIGHT 10] ; Inner circle Adjust the values to modify the size and appearance of the donut as needed.