Programming Fundamentals
Lecture#06, Control Structures
,Today’s Lecture Contents
If statement
If – else statement
If – else if …. – else statement
Nested if-statement
Switch statement
, Conditional Statements
An condition that evaluates to a TRUE or FALSE value is called
a Boolean Expression.
C++ conditional statements allow you to make a decision,
based upon the result of a Boolean expression
Boolean expression along with if-statement allows us to
conditionally execute a statement or a set of statements
Lecture#06, Control Structures
,Today’s Lecture Contents
If statement
If – else statement
If – else if …. – else statement
Nested if-statement
Switch statement
, Conditional Statements
An condition that evaluates to a TRUE or FALSE value is called
a Boolean Expression.
C++ conditional statements allow you to make a decision,
based upon the result of a Boolean expression
Boolean expression along with if-statement allows us to
conditionally execute a statement or a set of statements