This chapter has added a vital component to your programming knowledge. It has included the topics of how to make decisions in your code using either an if statement or a switch case statement to choose different tracks through your program. These decision-making structures are vital to any program and are present in all programming languages. You should now be able to use a for loop and understand its structure.
This chapter also introduced you to alternative loop structures such as the do loop and the while loop.