In this part ...
Chapter 3 takes you into the wonderful world of decision making. You'll learn how to generate random numbers and then use them to experiment with several decision-making mechanisms. Your programs will make decisions like the best of them.
Chapter 4 introduces the powerful idea of loops. Your programs will be able to repeat as many times as you want, and will stop on a dime. Loops can also cause difficult-to-spot logic problems, so this chapter also describes a number of debugging techniques.
Chapter 5 helps you build more powerful programs by combining elements. You can combine variables to make arrays, and you can combine statements to make functions. You also learn how to combine both instructions and data to make objects, including the powerful JSON ...