Page 50 - Code & Click - 6
P. 50
Experiential Learning
Lab Activity 3
Let us create a spiral. A spiral is a line or curve that
keeps on moving in a pattern.
1. Create a new project.
2. In the Variables blocks palette, create a variable
– Length and hide it.
3. In the Scripts area, create the stack of blocks as
shown in the image.
4. Click the green Flag button to execute the
project.
The sample images for the project are given on
the next page.
Experiential Learning
Lab Activity 4
Let us accept three numbers and display the greatest of the three numbers.
1. Create a new project.
2. In the Variables blocks palette, create three variables –
Number1, Number2, and Number3.
3. In the Scripts area, create the stack of blocks as shown in the
image.
4. Click the Go button to execute the project.
The sample images for the project are given below.
48