The course is part of this learning path
This course 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++
Prerequisites
To get the most out of this course, you should have a basic understanding of the fundamentals of C++.
In the previous sections, we have developed a strong foundation in C++ programming. We know a lot of the basics, variables and data types, operators, basic user input and output, and other fundamental topics. In this section, we will be exploring 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. We will discuss control statements in general and then talk about the three primary categories of control statements; sequential, selection, and repetition in more detail. We also discussed how to manipulate certain control statements using the continue and break statements. We then discuss a side topic related to pseudo random number generators, which are usually just called random number generators. This will give us more C++ tools to add to our toolkit and will help us specifically with one of the projects at the end of the section, including a jam of the month club, total cost calculator and odds and evens program, and a program where we have to guess the computers number. I'm very excited for all the amazing things we're going to do in this section. Without further ado let's get started.
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.