Arrays and Operators
Arrays are like organised lists that store multiple values of the same type. They're perfect when you need to manage lots of related data, like a class full of test scores or a shopping list.
When declaring an array, you need an identifier (name) and size (how many items it'll hold). Remember that an array with 10 elements is numbered 0-9, not 1-10. You can even create two-dimensional arrays that work like spreadsheets with rows and columns.
Operators fall into three categories. Mathematical operators handle basic maths (+, -, *, /), plus special ones like DIV for integer division and MOD for remainders. Comparison operators test relationships between values (=, <, >, <=, >=). Logical operators combine conditions using AND, OR, and NOT.
Quick Check: 20 DIV 3 = 6 (whole number division) and 20 MOD 3 = 2 (the remainder). These are super handy for many programming tasks!