Summary
A
variable stores a value in memory. It has a
data_type, an identifier, and a value. A
declaration creates it.
initialization gives its first value. Use the
assignment_operator (=) to change or set values.
scope defines where the variable is visible.
lifetime defines how long it exists. Variables may be
mutable or a
constant. Follow
naming_rules for readability. Typical types include integers, floats, booleans, and strings.