Full Transcript

Chapter 4: Making Decisions Starting Out with C++ Early Objects Ninth Edition, Global Edition by Tony Gaddis, Judy Walters, and Godfrey Muganda Copyright © 2017 Pearson Education, L...

Chapter 4: Making Decisions Starting Out with C++ Early Objects Ninth Edition, Global Edition by Tony Gaddis, Judy Walters, and Godfrey Muganda Copyright © 2017 Pearson Education, Ltd. Topics 4.1 Relational Operators 4.2 The if Statement 4.3 The if/else Statement 4.4 The if/else if Statement 4.5 Menu-Driven Programs 4.6 Nested if Statements 4.7 Logical Operators Copyright © 2017 Pearson Education, Ltd. 4-2 Topics (continued) 4.8 Validating User Input 4.9 More About Block and Scope 4.12 The switch Statement Copyright © 2017 Pearson Education, Ltd. 4-3 4.1 Relational Operators Are used to compare numeric and char values to determine relative order Operators: > Greater than < Less than >= Greater than or equal to 5 is true 7

Use Quizgecko on...
Browser
Browser