Branching with an if block
One of the key elements of almost every computer program is taking different execution paths (branches) depending on some criterion. Take, for example, a program that parses a bank account registration form for a customer. If one of the input fields isn’t entered correctly, such as a Social Security number having letters or a name […]