In this chapter, you learn how to use while loops and for loops to read data, processing each data item as it is encountered.
while
for