Introduction
Hello, and welcome to the first lesson of the second module. In this lesson, you’ll learn how to check conditions and make decisions in your code.
This lesson covers the following topics:
-
if
,if-else
andelse
statements and their usage - Using conditions to set the variables and control the flow of the code
- The scope of a variable and its effect on the code
It is important to understand the basics of branch control flow as it is a fundamental concept in programming. It allows you to make decisions in your code and execute different blocks of code based on the conditions you set.