Assignment Shape
Default Appearance

What it Does
The Assignment shape is used to store the result of a calculation into a
variable. This is one of the most common tasks found in programs.
Example
The example, to the right, declares two variables: area (which stores real
numbers) and radius (which stores integers). It then uses an Assignment
Statement to set the 'radius' to 7. Finally, it computes the area of a circle
and stores the result in 'area'.
|