Previous C++ programs that we've encountered in the C++ Basics like adding of two numbers or just simply accepting input from the end user and then displaying those values are quite straightforward - the process will start from the top beginning up to the bottom end. What if like for example there is a condition that if a user input a specific number then that the time comes a certain process will be executed? Or what about having a process that will be executed repeatedly for a thousand times?
In this article, developing computer programs will be more flexible through the use of control structures.