if Statement
Previously, we have learned that the actual work in a program is performed by expressions. This lesson further elaborates on that concept by explaining an important control structure that uses logical expressions.
We'll cover the following...
Control statements #
All of the expressions of all of the programs that we’ve seen so far have started with the main()
function and were executed until the end of the main.
Control statements are features that affect the execution of expressions. These statements don’t produce values and don’t have side effects themselves. They determine whether and in what order the expressions are executed. Control statements sometimes use logical expressions when making such decisions.
Note: Other ...
Access this course and 1400+ top-rated courses and projects.