Appendix E. Answers to Exercise Questions
This appendix lists possible answers to the exercises at the end of the chapters. Possible answers meaning they are not the only ones, so don't worry if your solution is different.
As with the rest of the book, you should try them in your console and play around a bit.
The first and the last chapters don't have the Exercises section, so let's start with Chapter 2, Primitive Data Types, Arrays, Loops, and Conditions.