3.1 If-Then-Else

Published: Sept. 30, 2016, 5 p.m.

The most basic conditional structure is the if statement where we either execute or skip a segment of code based on the results of a logical expression (i.e. asking a question).