Lesson 6: Simple if structure

[spoiler title=”Lesson Video”] Direct Download of Video (For mobile / offline viewing)(right click > save target as) [/spoiler] [spoiler title=”Lesson Source Code”] #include #include using namespace std; int main(){ // == Double equals sign -- boolean comparison operator // boolean = type of variable that can only hold true or false // || or, &&... » read more

Lesson 7: Nested If Statements

[spoiler title=”Lesson Video”] Direct Download of Video (For mobile / offline viewing)(right click > save target as) [/spoiler] [spoiler title=”Lesson Source Code”] #include using namespace std; int main(){ //9>8 == true == 1, 1>7 ==false //nested if's //if inside of an if //Homework: If the salesperson made less than 4000 in a month, they do... » read more