Assignment Statements:
The keyword of assignment statement is '='
.
The result of right side is stored to the left
side.
Programmers write an assignment statement to CPU
and CPU stores information to the memory box.
Largest = A; and A = Largest; are two different actions from CPU.
Symbols | MATH | Computer Science |
= | Equal | Assignment |
== | Comparison (equal) | |
% | Percent | Modulus |