Chapter 6

Control Loop Structures

CHAPTER OUTLINE
6.1  INTRODUCTION

In our day to day life in numerous applications we need to perform tasks that are repetitive in nature. It is a tedious process to perform such a kind of task repeatedly with pen/pencil and paper. But with computer programming languages and packages, the task becomes easy, accurate and fast. For example, the salary of laborers of a factory can be calculated by a formula (number of hours worked × wage rate per hour). The accounts department of each organization is involved in performing this ...

Get Programming in C++, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.