Students will be able to:
-
Explain how sequence works in programming.
Computer Science: Programming -
Explain why a program gives the output that it does.
Computer Science: Programming
Challenge Level: Beginner
Students will be able to:
Write a program that draws a triangle (with equal sides), starting from point x:0, y:0, with its sides equal to 100 steps without using a repeat loop.
There are no testing examples for this challenge.
Click on the green flag to see the expected output of your program.
when green flag clicked
clear
pen down
pen up
move (100) steps
turn cw (120) degrees
move (100) steps
turn cw (120) degrees
move (100) steps
turn cw (120) degrees
wait (1) secs
wait (1) secs
wait (1) secs
wait () secs
waits specified number of seconds, then continues with next block.
To be able to see each sides of the triangle being drawn, use the wait block after turning each angle.