December 2017
Beginner
681 pages
17h 24m
English

You know that programs work by receiving input data, doing something with it, and then producing an output. You also know how to use conditional statements to make programs respond to input in a sensible way. A program can test for values and other conditions and change what it does depending on what it finds. Up to this point, all the programs we’ve written run through their statements and then stop. However, you often need to make a program repeat a sequence of statements. For example, if a user enters an invalid value, you want the program to reject that value and repeat the sequence to request ...
Read now
Unlock full access