Day 16
Variables
Now we will talk about variables. A variable is simply a place where we save a certain value or data, and this value can be a number, text, or anything. If I have data, I can save it in variables and then I can change its value. That is why it is called a variable.
In order for me to create a variable in scratch, I go to the Variables box and give it any name I want.
For example, if I want to create a program that compares two specific values while adding some conditions to them, it will appear like this
Comments
Post a Comment