From math we know variables (x, y etc.), the mathematical operators (+, - etc.), and assignment (=). We have something like it in programming.
A variable is a bucket with a name on - the bucket can be called i e.g., and it can e.g. contain a number, a value - so that i is actually 7. As there are different data types, the variable can be a number, a string of characters, an array, a picture etc.
Here's a couple of examples.
area = length * width if ( area > 50) demand much money
Concept last updated: 06/05 2004.