Operators Precedence in C++ ......................................................................................................................... 45
While Loop .................................................................................................................................................... 49
Loop Control Statements ............................................................................................................................... 57
The Infinite Loop ............................................................................................................................................ 63
If Statement ................................................................................................................................................... 66
Nested if Statement ....................................................................................................................................... 73
The ? : Operator ............................................................................................................................................. 76
Defining a Function ........................................................................................................................................ 77
Function Declarations .................................................................................................................................... 78
Calling a Function .......................................................................................................................................... 78
Function Arguments ...................................................................................................................................... 80
Defining Numbers in C++ ............................................................................................................................... 87
Math Operations in C++ ................................................................................................................................. 88
Random Numbers in C++ ............................................................................................................................... 90