O'Reilly logo

Programming for the Absolute Beginner by Jerry Lee Ford

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 6. Using Loops to Process Data

In this chapter you will learn how to create and work with loops. Loops are code blocks that repeat a series of programming statements over and over again. As such, they facilitate the development of applications that can process large amounts of data using a minimum number of programming statements. Loops can be used to process the contents of arrays and text files. Loops can also be used to control an application’s interaction with the user, repeatedly executing the same process until instructed not to. This chapter will teach you how to use a number of different types of loops and will explain the types of situations to which each type of loop is best applied. This chapter will also show you how to create ...

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