|
|
|
|
|
|
|
|
|
|
|
The
universal form of assignment:
|
|
|
|
<variable> <assignment symbol> <expression>
|
|
|
For
example ...
|
|
|
day
= hours/24;
|
|
|
|
• |
value of the variable on the left is changed
|
|
|
to have the new value of expression on right
|
|
|
• |
read “=” as “is assigned” “becomes” “gets”
|
|
|
|
• |
right-to-left value flow
|
|