Variables
4 articles- Assignment and Expressions★
Assignment stores a value in a variable. Expressions calculate new values using operators. Together they are the engine behind almost every program.
- Constants★
A constant is a named value that never changes while a program is running. Using constants makes code easier to read, maintain, and debug.
- Variable Scope★★
Scope determines which parts of a program can see and use a variable. Understanding scope prevents confusing bugs and helps you write cleaner code.
- Variables★
A variable is a named container that stores data in a program. Understanding variables is the first step to writing meaningful code.