Boolean Operators:
Programs are said to have a "flow of execution". You start by executing a line of code, then the next, then the next, and so on.
A flow chart is a common visual used to represent the various paths of execution that your program might take. Many people use them to help plan programs.
This flow chart depicts a program executing one line after another until it gets to a point where it needs to make a decision.
In order to determine which path to take you state some condition. It should be a Boolean expression - something that evaluates to true or false. Here we have a simple comparison of two values: the person's age and the number 18.
The program does one thing if the condition is true, and something else if the condition is false.
The program can continue a single thread of execution after the condition as well.
Some Important advice while coding:
If you are coding with someone, make sure you are adding comments about your code throughout and make variable and function names that make sense so your partner can work easily.
USE FUNCTIONS! This will make your code run faster and let you use the same code in different places in the program without having to rewrite it.