previous
|
start
|
next
Assignment (Syntax 2.5 : Assignment)
Syntax 2.5 : Assignment
variable
=
expression
;
Example:
total = pennies * 0.01;
Purpose:
Store the value of an expression in a variable.
previous
|
start
|
next