The if Statement

Learn how to use an if statement.

We'll cover the following

Conditional statements interrupt the sequential execution of statements. Put simply, the flow of execution changes based on the condition.

What is an if statement?

It is a conditional statement. Think about the word if in real-life. Below are some common phrases.

Get hands-on with 1200+ tech skills courses.