Curipod placeholder

I7: C++ If else conditionals

0
1

Curipod generated lesson: "C++ If else conditionals". #5-7

Profile picture of andrey.miguel

andrey.miguel

Updated 5 months ago

1. Drawings
480 seconds
Draw the most interesting news story this week
2. Word cloud
60 seconds
What type of statement is an if-else statement?
3. Slide
60 seconds
If else conditionals are used to execute different parts of code depending on a condition. The condition is a boolean expression that evaluates to either true or false. Code blocks are used to group statements together.
If Else Conditionals in C++
4. Slide
60 seconds
boolean expression: A statement that evaluates to either true or false. condition: An expression that is evaluated to determine which code block should be executed. code block: A group of related statements.
Concepts:
5. Open question
180 seconds
Write: What are the basic rules of writing an 'if' statement in C++?
6. Open question
180 seconds
Write: How can you use an 'if else' statement to make decisions in a program?

Suggested content