Chapter_04.ppt
Document Details
Uploaded by IndebtedOwl
null
2017
Tags
Related
- bsc-3-sem-computer-science-ad-1833-s-2023.pdf
- Lecture 1: Introduction to C++ Programming and Computer Science PDF
- Intro to Computer Science - For Loop & Control Structures PDF
- Chapter 3 Computer Science 12 - Federal Board PDF
- Computer Science I Lecture Notes PDF
- Introduction to Computer Science PDF Fall 2024
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