O'Reilly logo

Programming Techniques Through C: A Beginner's Companion by M. G. Venkateshmurthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

Looping Techniques

Various computer applications need ‘repeated’ execution of some set of ‘computational statements’ again and again. For example, different terms of the Fibonacci series are computed by repeatedly adding the values of two immediate preceding terms. The sum of a series expansion involves the repeated generation of next terms and adding it to the previous sum, the salary of all the employees of an organization is computed using the same set of rules again and again. At an university level examination students results are computed using the same set of rules again and again, and so on. There are such innumerable number of applications where one will be repeatedly or iteratively executing a certain set of statements again ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required