Creating Algorithms: ADV-C2
Creating Algorithms: ADV-C2
Creating Algorithms
Step 1: Understand how to write algorithms and then code. (Remember algorithm is a set of
ordered instructions to complete a task.)
Pixels indicates the length of the line drawn on the screen. If we change the value of Pixel,
the length of the line on the screen will change accordingly.
Drag the following blocks one by one, adjust the angle, and connect.
Click Run
Solution 2:
Step 5:
Step 8: use the jump block to draw a dashed line on this road