statements are instructions within the program. similar to sentences in our english language, a statement is a line of code telling the computer to do a certain action. in c++, all statements end with a semicolon.
Types of Statements
- Declaration Statements - Variable equals
- Jump Statements - Go to a function
- Expression Statements - Computations with operators. Math?
- Compound Statements - Boolean Algebra
- Selection Statements - Conditionals
- Iteration Statements - loops
- Try blocks - try, except blocks