In this chapter, we learned about the different types of control structures that are used in the AWK programming language. We learned types of conditional statements such as if, if...else, if...else...if, and switch...case. Then we learned about different looping constructs like while, do...while, and for loops. Finally, we saw the usage of different flow control statements such as break, continue, exit, and next.
In next chapter, we will learn about the different types of built-in and user-defined functions available in AWK.