Use variable to control the movement of the Carrier.
Use function to "store" and "call" the program(s).
A function lets you create a portion of code that you can reuse in your program. You can put code that you want to use over again in a function.
Execute the program stored inside the function.
Assign (set) a variable’s value, making the variable store the value specified.
Call back or retrieve a variable’s current value.
Generate a random value within a range of numbers.
Used to find out how much is left over if one number doesn’t divide into the other number evenly.
Call Function
Pick Random Number
In computer programming, a variable is a storage location paired with a name, which contains some known or unknown quantity of information referred to as a value. The variable name is the usual way to reference the stored value. Value of variable can be changed during execution of program.