4139274434_0677448a01_o

(Credit of the image goes to https://flic.kr/p/7iLS5A)

It’s Mastery time once again!!!

In this one, we’re going to see that is actually possible the nesting of conditional statements.

If you don’t remember how to use conditionals, please check the blogpost for Masteries #15 and #16 (https://delusionalpieceofdust.wordpress.com/2015/09/14/mastery-13-using-the-conditional-if/)

Now that you know about conditionals, you might be wondering if you could put one conditional inside another one. Let me tell you it’s very possible and I’ll teach you how.

Here’s a video I made:

It’s very simple! Instead of having to put another if, you can just write else (in the example I went with a else if, but you the if isn’t mandatory )

Also, feel free to read this Power Point I made:

MASTERY 18

CC BY 4.0 MASTERY 18: Nesting of conditional statements by Ana Gloria Angulo is licensed under a Creative Commons Attribution 4.0 International License.