Sample code
If you want to play around with loop code, you can create a new project called Loops Demo
and copy any of the code from this chapter into the end of the onCreate
function. I have placed the code that we have used throughout our discussion of loops in the Chapter08/Loops Demo
folder.