That's true statement.
The syntax if statement is first, we type the word if then followed by the statement we need to test
inside Brackett's.
Keep in mind that we have to leave a space after the first break and before the second one.
Now let's try the statement we want to test.
We will check if age is greater than or equal 70.
As you noticed, we use a dash GGGI for greater than or equal.
Next step is to read the word then on a new line.
Now, we can write all our code here if the previous statement was true.
We can also test something else using the Eliot.
We used a dash early for a less than or equal, if there was any other case we haven't tested, we can
include it in our final Kelsh command and that will cover the age between 19 and 69.
Finally, we end our live statement with the word if reversed, which will be F.I..
We can also use the greater than less than an equal sign instead of the Daschle and Daschle, but in
order for us to do that, we have to put our statement in double parenthesis.
Let's try that.
Nice.
Now, what if we want to test two statements at the same time?
We can do that by using the ampersand, but this time we need also to add extra brackets to our statement.
In this example, we are testing the input we get from the user against the user name and password.
I love Peche.
I'm sorry, I love Besch.
If it's true for both of them, then we print access granted.
If even one of them is not true or both of them not true, we print access denied.
Let's try that.
It's working now.
What if we want only one of them to be true this time we had the or operator or the double vertical
bar.
Let's try that.
As you can see, the only case that gave us access denied was one both of them do not match.