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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.