Control Statements in C++

1m 28s

This lesson explores the fundamental concepts and syntax associated with the flow of control in programs. Control flow means the order in which instructions are executed in a program. By combining control statements in different ways, we can create very powerful computer programs.

Learning Objectives

  • Understand the basics of control statements
  • Learn about the three primary categories of control statements in more detail
  • Learn how to manipulate certain control statements using the continue and break statements.
  • Learn about random number generators
  • Get a practical understanding of these components through real-life demos

Intended Audience

  • Beginner coders, new to C++
  • Developers looking to upskill by adding C++ to their CV
  • College students and anyone studying C++


To get the most out of this lesson, you should have a basic understanding of the fundamentals of C++.


About the Author
Learning paths

John has a Ph.D. in Computer Science and is a professional software engineer and consultant, as well as a computer science university professor and department chair.

Covered Topics